Is there a way to see all the states that have been set to $stateProvider ?
In this case, I would like my state assignments to be distributed across many files. I would like to check the built states on run or config in another file.
For example:
# component1.coffee angular.module('zoo').config ($stateProvider) -> $stateProvider.state 'component1', url: '/component1' template: _template controller: 'Component1Ctrl'
Is there something that will list two states, component1 and component2 ?
angularjs coffeescript angular-ui-router angular-ui
SimplGy Feb 05 '14 at 23:01 2014-02-05 23:01
source share