Advantages of AngularJs:
$scope:
$scope:
<div class="container" ng-controller="spaController">
<div>{{message}}</div>
</div>
app.controller('spaController',function($scope){
$scope.message= "Welcome to learn Angular.js ";
});
Directives:
ng-app - This directive starts an AngularJS Application.
ng-init - This directive initializes application data.
ng-model - This directive defines the model that is variable to be used in AngularJS.
ng-repeat - This directive repeats html elements for each item in a collection
Element directives - Directive activates when a matching element is encountered.
Attribute - - Directive activates when a matching attribute is encountered.
CSS - - Directive activates when a matching css style is encountered.
Comment - - Directive activates when a matching comment is encountered.
Modules:
Controllers:
Routing using AngularJs:
It is concept of switching views. AngularJS based controller decides which view to render based on the business logic.
config() method :
var module = angular.module("sampleApp", ['ngRoute']);
Text
What is deep linking in AngularJS?
For your information:
Find below some Reference Links:
http://www.ng-newsletter.com/posts/beginner2expert-how_to_start.html
http://www.tutorialspoint.com/angularjs/angularjs_custom_directives.htm
http://www.tutorialspoint.com/angularjs/angularjs_ajax.htm