Angular JS
AngularJS
Angular is one of the most popular javascript frameworks for creating web apps. Maintained by Google.
AngularJS's data binding and dependency injection eliminate much of the code you would have to write.
AngularJS teaches the browser new syntax through a construct we call directives to minimize the impedance mismatch between document centric HTML and what an application needs by creating new HTML constructs. Examples;
Data binding, as in {{}}.
DOM control structures for repeating, showing and hiding DOM fragments.
Support for forms and form validation.
Attaching new behavior to DOM elements, such as DOM event handling.
Grouping of HTML into reusable components.
Version 1.0 vs. Version 2.0
Angular 2.0 shows a substantial change in the structure as compared to version 1.0.
The architecture of Angular v1 is based on MVC whereas the architecture of Angular v2 is based on service/controller.
There is very less possibility to upgrade the Angular v1 to v2, mainly developers have to rewrite the entire application code.
Angular v1.0 use JavaScript to build the application while Angular v2.0 uses the Typescript to write the application.
Version 2.0 vs. Version 4.0
The upgrade of the version from 2.0 to 4.0 has reduced it’s bundled file size by 60%. The code generated is reduced and has accelerated the application development. Here the developed code can be used for prod mode and debug.
Angular v4.0 is compatible with newer versions TypeScript 2.1 and TypeScript 2.2.
To install Angular , get the support from https://angular.io/guide/quickstart
Comments
Post a Comment