INTRODUCTION TO ANGULAR JS
Prerequisite for ANGULAR JS
3.The Document Object Model(DOM)
Now,Why would you learn and use Angular JS?
You can use AngularJS to create single page applications.
You can use it to create dynamic
AngularJS's data binding
and dependency injection eliminates much of the code you would otherwise have to write.
Points to be remember:
AngularJS extends HTML attributes with Directives, and binds data to HTML with Expressions.
AngularJS Extends HTML
AngularJS extends HTML with ng-directives.
The ng-app directive defines an AngularJS application.
The ng-model directive binds the value of HTML controls (input, select, text area) to application data.
The ng-bind directive binds application data to the HTML view.
Angular JS Example:
<p>Name: <input type="text" ng-model="name"></p>
Here you will learn everything about
directives, expressions, filters, modules,controllers,Events, DOM, Forms, Input, Validation, Http, and more.
# What is Dependency Injection in Angular?
It is a coding pattern in which a class receives its dependency from an external source rather than creating them itself.
# What is Two-way data binding?
Two-way data binding means any data-related changes affecting the model are immediately propagated to the matching view and that any changes made in the view are immediately reflected in the underlying model.