'/' is not letting the state to pass to '/{username:[a-zA-Z0-9]{3,20}}' in AngularJs UI-router
问题 I have a abstract root state called 'site' with empty url i.e. '' , which has two child state 'profile' and 'home' where the url for home is '/' and the url for profile is '/{username:[a-zA-Z0-9]{3,20}}' inorder to test I tried many times to go to the profile state but it always reaches the home state. But when i change the home state url with say '/home' then i'm able to go to the profile state . After searching the web i couldn't find this issue. Is it a bug? or i'm doing something wrong?