What is Angular Js
- Angular JS is JavaScript framework, by using this we can create dynamic web applications.
- You can use simple HTML as your template language and Its extend your HTML's syntax to express your application's components clearly
- The main advantage is It eliminate much code by using data binding and dependency injection.
HTMl is a great declarative language. But it used to built static documents. It doesn't have capability to create applications. So we can solve with
- A library - Jquery.
- Frameworks - durandal, ember etc.
By creating HTML constructs Angular JS teaches browser new syntax.
we can call these constructs as directives.
Introduction
Angular can be added to an HTML pages using tag and it extends HTML attributes with Directives, and binds information or data to HTML with Expressions.
As we said before, Its extends HTML with directives ( ng-directives )
- The ng-app directive ( AngularJS application).
- The ng-model directive ( By using this we can bind the value of HTML controls like input, select, textarea ) to application data.
- The ng-bind directive ( It binds application data to the HTML view. )
First Name:
0 comments:
Post a Comment