view raw
msfanboy msfanboy - 6 months ago 39
AngularJS Question

Default route for angular ui router

The sample demo of the angular ui router has this link for the start page:

full url of 'ui-router' is


full url of 'about' is

When I was using durandalJS there was a limitation that the default url is just "/" there can be no "/ui-router".

Has the angular ui router plugin the same limitation?


See here there is an "otherwise" option for a default route.

If you are talking about default route PARAMETERS, then there is an answer here.