2. why angular?
keyarguments
2 - Way Binding
HTML JS
app.controller("SearchController", function($scope){
// Initially set the search term to hello
$scope.searchTerm = "Hello";
<div ng-controller="SearchController">
<input type="text" ng-model="searchTerm">
// Watch for changes of the search term
</div>
$scope.$watch("searchTerm", function(){
// perform search
});
});
7. start using
projectrepository
https://github.com/southdesign/hands-on-angular
step by step
projectcommits
https://github.com/southdesign/hands-on-angular/commits/master