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:
committed by
Manish Giri
parent
dc136e3ce5
commit
b80824e5eb
@ -8,6 +8,7 @@ title: Angular
|
|||||||
## Angular
|
## Angular
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
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.
|
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
|
## Version History
|
||||||
@ -18,7 +19,8 @@ After some modifications, Angular 4.0 was released on Dec-2016. Angular 4 is bac
|
|||||||
|
|
||||||
**Install**:
|
**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
|
```shell
|
||||||
npm install -g @angular/cli
|
npm install -g @angular/cli
|
||||||
@ -30,5 +32,4 @@ cd example-app
|
|||||||
ng serve
|
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]
|
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.*
|
|
||||||
|
@ -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
|
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.
|
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
|
## AngularJS Expressions
|
||||||
- Expressions can be written inside double braces: `{{ expression }}`
|
- Expressions can be written inside double braces: `{{ expression }}`
|
||||||
- Expressions can also be written inside a directive: `ng-bind="expression"`
|
- Expressions can also be written inside a directive: `ng-bind="expression"`
|
||||||
|
Reference in New Issue
Block a user