updated angular guide index to focus on angular 2+ (#22190)

* updated angular guide to focus on angular 2+

* corrected links
This commit is contained in:
Dom Slatford
2018-11-29 10:46:38 +00:00
committed by Manish Giri
parent dc136e3ce5
commit b80824e5eb
2 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,7 @@ title: Angular
## Angular
![angular logo](https://angular.io/assets/images/logos/angular/angular.png)
Angular(versions 2 and up) is a Typescript based open source framework to develop front-end Web application. It is the successor of AngularJS and all mention of Angular should refer to versions 2 and up. Please see the seperate AngularJS catagory for its respective guides. Angular has following features like generics, static-typing and also some ES6 features.
## Version History
@ -18,7 +19,8 @@ After some modifications, Angular 4.0 was released on Dec-2016. Angular 4 is bac
**Install**:
The easiest way to install Angualr is through the (CLI project)[https://cli.angular.io/] this tool allows the creation of new projects and generating components/services/modules etc to a standard the Angular team consider to be best practices.
The easiest way to install Angular is through the [CLI project](https://cli.angular.io/). This tool allows the creation of new projects and generating components/services/modules etc to a standard the Angular team consider to be best practices.
```shell
npm install -g @angular/cli
@ -30,5 +32,4 @@ cd example-app
ng serve
```
For more information regarding the documentation, refer to the official docs for the (CLI)[https://cli.angular.io/] or (Angular documentation)[https://angular.io/docs]
*Note : Please refer the Angular documentation for the updated information.*
For more information regarding the documentation, refer to the official docs for the [CLI](https://cli.angular.io/) or [Angular documentation](https://angular.io/docs)

View File

@ -7,6 +7,7 @@ AngularJS (versions 1.x) is an open source front-end JavaScript framework. Angul
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. It is cross platform and used to develop Single Page Web Application (SPWA). AngularJS implements the MVC pattern to separate the logic , presentation and data components. It also uses dependency injection to make use of server-side services in client side applications.
## AngularJS Expressions
- Expressions can be written inside double braces: `{{ expression }}`
- Expressions can also be written inside a directive: `ng-bind="expression"`