ultimate-angular-master-src icon indicating copy to clipboard operation
ultimate-angular-master-src copied to clipboard

29-resolve-bindings: Substates not working with AngularJS >= 1.6

Open Vortilion opened this issue 7 years ago • 1 comments

Hi,

it seems that the substates contact.phone and contact.email aren't working anymore with AngularJS 1.6 or higher... I always get redirected to the home-route (guess because of "otherwise"?). If I look at the URL which is being generated for the links, it misses the now necessary bang after the hash.

Vortilion avatar Aug 10 '18 09:08 Vortilion

As I just found out you have to add $locationProvider .hashPrefix(''); });

to the config, otherwise it will mess up the hash / hashbang (bang will be missing for the substates, thats why they aren' working otherwise).

Vortilion avatar Aug 10 '18 10:08 Vortilion