- AngularJS can be installed using Node Package Manager-NPM.
- In this demo, “We will learn to install AngularJS library using Node Package Manager”.
- To install AngularJS library use the command npm install angular in a terminal.
- To demonstrate installation we have created a directory AngularMaterialDemo to configure AngularJS.
- The following screenshot shows the terminal with npm installing AngularJS library.
- After successful execution of the command the angular subdirectory is created under node_modules directory.The following screenshot shows the directory structure created by installation.