I have ui-router set up to use dynamic segments like this...
``````````````````
$stateProvider.state('home', {
url: '/home',
templateUrl: rootUrl + 'Templates/home.html',
controller: 'homeController'
});
$stateProvider.state('componentSet', {
url: 'revisionset/:revision_id/componentSet/:component_set_id',
templateUrl: rootUrl + 'Templates/componentSet.html',
controller: 'componentSetController'
});
```````````````````````````
While I can manually route to the 'home' state by entering the url(ie:
localhost#home), I can't manually route to the 'componentSet' state (ie:
'http://localhost#/revisionset/2/componentSet/5'). All I get is an empty
<div ui-view></div>. Is there something I'm missing?
Additionally I can route to the componentSet state once another state has
loaded first and in that case everything works perfectly.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.