Closed
Description
I wonder whether having templateUrls be interpreted relative to the state's url is such a good idea. I was really confused that when I was in a state with a url '/x/y' and I specified a template 'myTempl.html' that the template was being sought at '/x/y/myTempl.html'. I would think that given the way states' urls could be pretty much anywhere, you'd want the templateUrls to be relative to the appbase instead of the state's url... I think this only appears in html5 mode (which makes sense).
I know there's changes in how angular treats app base in the works: angular/angular.js#2969 ...I wonder how they'll impact ui-router in general, if at all.
Metadata
Metadata
Assignees
Labels
No labels