diff options
Diffstat (limited to 'src/service/routeParams.js')
| -rw-r--r-- | src/service/routeParams.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service/routeParams.js b/src/service/routeParams.js index a9e201a3..df89c739 100644 --- a/src/service/routeParams.js +++ b/src/service/routeParams.js @@ -25,6 +25,6 @@ * $routeParams ==> {chapterId:1, sectionId:2, search:'moby'} * </pre> */ -angularService('$routeParams', function() { - return {}; -}); +function $RouteParamsProvider() { + this.$get = valueFn({}); +} |
