refactor($router): removed some redundant code

This commit is contained in:
Shahar Talmi
2015-09-27 12:46:09 +03:00
committed by Brian Ford
parent cd2050b6e0
commit 431ac33c26
2 changed files with 7 additions and 25 deletions

View File

@ -1,7 +1,7 @@
angular.module('ngComponentRouter').
value('$route', null). // can be overloaded with ngRouteShim
factory('$router', ['$q', '$location', '$$directiveIntrospector', '$browser', '$rootScope', '$injector', '$route', routerFactory]);
factory('$router', ['$q', '$location', '$$directiveIntrospector', '$browser', '$rootScope', '$injector', routerFactory]);
function routerFactory($q, $location, $$directiveIntrospector, $browser, $rootScope, $injector) {