Angular JS是Google开发的开源Web应用程序开发框架。它为开发动态和单页Web应用程序提供支持。
Node.JS是用于在浏览器外部运行JavaScript应用程序的跨平台运行时环境。它提供了丰富的各种JavaScript模块库,可以简化编码。
Angular JS | Node.JS |
---|---|
It is a structural framework for developing dynamic web apps. | It is a cross-platform run-time environment for applications written in JavaScript language. |
It is entirely written in JavaScript. | It is written in C, C++ and JavaScript. |
It is used to build single-page client-side applications. | It is used to build fast, scalable server-side and client-side networking applications. |
Ideal for developing highly active and interactive web apps. | Ideal for developing small size projects. |
The developer only need to add the AngularJS file to use it in his application. | The developer need to install the NodeJS on his computer system. |
Models and views in AngularJS are much simpler than what found in other JavaScript client-side frameworks. | It uses the event driven nature of the JavaScript to support non blocking operations and that makes the platform efficient. |
It is based on the model-view-controller design pattern and embraces that pattern completely. | It is single threaded meaning the web requests and processed and run on the same thread. |
AngularJS is a Web Framework. | NodeJS provides different Web Frameworks like Socket.io, Hapi.js, Meteor.js, Express.js, and Sails.js |