git.iko.soy/typeable/servant
on master help sign in
CamelCase for Angular Service
commit3f538b547dec72edd97a18bff12a9153cdfd3ad3 authorFreezeboy <freezeboy@users.noreply.github.com> dateTue 28 Jul 2015, 16:43 (11 years ago) parentef13160
1 file changed+2−2
servant-js/examples/www/angular/service.html+2−2
servant-js/examples/www/angular/service.html+2−2
@@ -20,11 +20,11 @@ counterApp.controller('CounterCtrl', function ($scope,counterSvc, $interval) {
2020 var publishCounter = function (response) { $scope.counter = response.value; };
2121
2222 $scope.getCounter = function() {
23− counterSvc.getcounter()
23+ counterSvc.getCounter()
2424 .success(publishCounter);
2525 }
2626 $scope.incCounter = function() {
27− counterSvc.postcounter()
27+ counterSvc.postCounter()
2828 .success(publishCounter);
2929 }
3030