@@ -326,14 +326,12 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactoryProvider) {
326
326
* @ngdoc object
327
327
* @name ui.router.state.$state
328
328
*
329
- * @requires $rootScope
330
329
* @requires $q
331
330
* @requires $injector
332
331
* @requires ui.router.state.$view
333
332
* @requires ui.router.state.$stateParams
334
333
* @requires ui.router.router.$urlRouter
335
334
* @requires ui.router.state.$transitions
336
- * @requires ui.router.util.$urlMatcherFactory
337
335
*
338
336
* @property {object } params A param object, e.g. {sectionId: section.id)}, that
339
337
* you'd like to test against the current active state.
@@ -348,8 +346,8 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactoryProvider) {
348
346
* you're coming from.
349
347
*/
350
348
this . $get = $get ;
351
- $get . $inject = [ '$rootScope' , '$ q', '$injector' , '$view' , '$stateParams' , '$urlRouter' , '$transitions' , '$urlMatcherFactory '] ;
352
- function $get ( $rootScope , $ q, $injector , $view , $stateParams , $urlRouter , _$transition , $urlMatcherFactory ) {
349
+ $get . $inject = [ '$q' , '$injector' , '$view' , '$stateParams' , '$urlRouter' , '$transitions' ] ;
350
+ function $get ( $q , $injector , $view , $stateParams , $urlRouter , _$transition ) {
353
351
354
352
/**
355
353
* Invokes the onInvalid callbacks, in natural order. Each callback's return value is checked in sequence
0 commit comments