ng-click is being used to specify a method to fire on the containing scope if a button containing ng-click property has been clicked.
I have created a simple AngularJS app, based on a sample in the ng-click reference above, that records clicks on buttons and shows number of clicks on a button. the implementation includes two controller. one increases number of server object count ($scope.count) and the other reduces it.
Comments 0