CamelCase for Angular Service

This commit is contained in:
Freezeboy 2015-07-28 16:43:09 +02:00
parent ef13160d8b
commit 3f538b547d

View file

@ -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);
}