ultimate-angular-master-src
ultimate-angular-master-src copied to clipboard
29-resolve-bindings: Substates not working with AngularJS >= 1.6
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.
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).