This snippet is a function or what


#1

app.controller('MainController', ['$scope', function($scope) {
$scope.title = 'Top Sellers in Books';
}]);

need line by line info what is this? what we doing or creating here?


#2

Please read
https://stackoverflow.com/questions/32534283/angularjs-sample-controller/32534354


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.