+ 6
What is node js and angular js. How it is different from js.?
3 ответов
+ 2
Normally, JavaScript can only be written and understood by the browser.
Node.JS (Node)
-----------
Node.JS however, allows us to use normal JavaScript with some Node-specific features as a server-side language. So instead of using PHP as your back-end language, you could use Node to write in JS. There are many more key features to Node.JS like the event-loop, that it's single-threaded and it's module system.
For more check this site out: https://www.w3schools.com/nodejs/nodejs_intro.asp
Angular.js
---------------
Angular.js is a JavaScript client-side (run by the browser) framework to build websites. Since Angular.js there have been newer versions, like Angular 2, Angular 4 and now Angular 5. However, since Angular 2, the versions are written in TypeScript and have almost nothing in common with Angular.js.