2018-10-12 19:37:13 +00:00
|
|
|
---
|
|
|
|
title: AngularJS
|
|
|
|
---
|
|
|
|
## AngularJS
|
|
|
|
|
2018-10-31 23:13:16 +00:00
|
|
|
[AngularJS](https://angularjs.org/) is an open source front-end JavaScript framework. AngularJS extends HTML to develop rich and powerful front-ends.
|
2018-10-12 19:37:13 +00:00
|
|
|
It reduces the repetitive use of HTML code. This repetition can be avoided by using the directives provided by AngularJS which saves
|
|
|
|
much time and effort.
|
|
|
|
|
|
|
|
**Install**:
|
|
|
|
|
|
|
|
npm:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
npm install angular
|
|
|
|
```
|
|
|
|
HTML:
|
|
|
|
|
|
|
|
```html
|
|
|
|
<script src="/node_modules/angular/angular.js"></script>
|
|
|
|
```
|
|
|
|
|
|
|
|
bower:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
bower install angular
|
|
|
|
```
|
|
|
|
HTML:
|
|
|
|
|
|
|
|
```html
|
|
|
|
<script src="/bower_components/angular/angular.js"></script>
|
|
|
|
```
|