Skip to content

Commit 274e3b1

Browse files
committed
fixed missing service inject
1 parent 753efee commit 274e3b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sample/app/contacts/contacts-service.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ angular.module('uiRouterSample.contacts.service', [
33
])
44

55
// A RESTful factory for retrieving contacts from 'contacts.json'
6-
.factory('contacts', ['$http', function ($http, utils) {
6+
.factory('contacts', ['$http', 'utils', function ($http, utils) {
77
var path = 'assets/contacts.json';
88
var contacts = $http.get(path).then(function (resp) {
99
return resp.data.contacts;
@@ -19,4 +19,4 @@ angular.module('uiRouterSample.contacts.service', [
1919
})
2020
};
2121
return factory;
22-
}]);
22+
}]);

0 commit comments

Comments
 (0)