1 / 9

Is NodeJS important to AngularJS

Node.js is an open source JS framework that  <br>Helps in the execution of JavaScript code from server-side.

aglojane
Télécharger la présentation

Is NodeJS important to AngularJS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction Node.js is an open source JS framework that   • Helps in the execution of JavaScript code from server-side. • Acts as a storehouse where you can get any JS framework by using Node Package Manager(NPM). • Uses chrome JavaScript engine to execute JavaScript outside the browser for creating desktop and server-based applications. • NPM is used for copying all the dependencies and packages to the local directory.

  2. Reasons why there is a need for NodeJS in Angular:

  3. Angular is created in Typescript, which isn't supported by browsers. For compiling them into JavaScript, NodeJS is required.

  4. Most of the Angular libraries are assigned in the form of different NPM packages. NPM(Node Package Manager) relies more on NodeJS.

  5. NPM is responsible for minimizing the size of the JavaScript files which basically helps in reducing application's size.

  6. Angular works on the client side, while for processing on the server side you will require NodeJS.

  7. NodeJS works as an intermediate for hosting in Angular and transferring data to the server side.

  8. Despite both NodeJS and Angular works on JavaScript but NodeJS makes Angular Development much easier. It also helps to reduce the size of Angular based application by using NodeJS in form of NPM. It's not necessary that you specifically need nodejs in Angular, but it makes AngularJS application more convenient.

More Related