factory -> service (service)

This commit is contained in:
Ben Sarmiento 2015-08-13 22:14:59 +08:00
parent 1f2adf97e1
commit 3588de317c
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ layout: default
### Service ### Service
App.factory('NameService', function($http){ App.service('NameService', function($http){
return { return {
get: function(){ get: function(){
return $http.get(url); return $http.get(url);