CamelCase for Angular Service
This commit is contained in:
parent
ef13160d8b
commit
3f538b547d
1 changed files with 2 additions and 2 deletions
|
@ -20,11 +20,11 @@ counterApp.controller('CounterCtrl', function ($scope,counterSvc, $interval) {
|
|||
var publishCounter = function (response) { $scope.counter = response.value; };
|
||||
|
||||
$scope.getCounter = function() {
|
||||
counterSvc.getcounter()
|
||||
counterSvc.getCounter()
|
||||
.success(publishCounter);
|
||||
}
|
||||
$scope.incCounter = function() {
|
||||
counterSvc.postcounter()
|
||||
counterSvc.postCounter()
|
||||
.success(publishCounter);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue