File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ Include the dynamic routing modules and source code:
2121
2222The ` dynamicRouting ` module can configure states in one of two ways:
2323
24- 1 . Assign the state configurations to a ` foundationRoutes ` global variable
25- 2 . Pass the state configurations to the ` $FoundationStateProvider .registerDynamicRoutes ` method during the config phase of your application
24+ 1 . Assign the state configurations to a ` BaseAppsRoutes ` global variable
25+ 2 . Pass the state configurations to the ` $BaseAppsStateProvider .registerDynamicRoutes ` method during the config phase of your application
2626
2727## Modules
2828
Original file line number Diff line number Diff line change 22 'use strict' ;
33
44 angular . module ( 'dynamicRouting' , [ 'ui.router' ] )
5- . provider ( '$FoundationState ' , FoundationState )
5+ . provider ( '$BaseAppsState ' , BaseAppsState )
66 . controller ( 'DefaultController' , DefaultController )
77 . config ( DynamicRoutingConfig )
88 . run ( DynamicRoutingRun )
99 ;
1010
11- FoundationState . $inject = [ '$stateProvider' ] ;
11+ BaseAppsState . $inject = [ '$stateProvider' ] ;
1212
13- function FoundationState ( $stateProvider ) {
13+ function BaseAppsState ( $stateProvider ) {
1414 var complexViews = { } ;
1515
1616 this . registerDynamicRoutes = function ( routes ) {
141141 }
142142 }
143143
144- DynamicRoutingConfig . $inject = [ '$FoundationStateProvider ' ] ;
144+ DynamicRoutingConfig . $inject = [ '$BaseAppsStateProvider ' ] ;
145145
146- function DynamicRoutingConfig ( FoundationStateProvider ) {
146+ function DynamicRoutingConfig ( BaseAppsStateProvider ) {
147147 // Don't error out if Front Router is not being used
148148 var foundationRoutes = window . foundationRoutes || [ ] ;
149149
150- FoundationStateProvider . registerDynamicRoutes ( foundationRoutes ) ;
150+ BaseAppsStateProvider . registerDynamicRoutes ( foundationRoutes ) ;
151151 }
152152
153153 DynamicRoutingRun . $inject = [ '$rootScope' , '$state' , '$stateParams' ] ;
Original file line number Diff line number Diff line change 11{
22 "name" : " angular-dynamic-routing" ,
3- "version" : " 1.0.1 " ,
4- "description" : " Angular modules designed to use the output from Angular Front Router " ,
3+ "version" : " 1.1.0 " ,
4+ "description" : " Provides dynamic angular state definitions and animations " ,
55 "main" : " index.js" ,
66 "scripts" : {
77 "test" : " mocha"
You can’t perform that action at this time.
0 commit comments