miguel-perez / smoothState.js

Unobtrusive page transitions with jQuery.
MIT License
4.43k stars 508 forks source link

smoothState doesn't work with angular controllers #300

Open tosinbot opened 8 years ago

tosinbot commented 8 years ago

hello, I tried using smoothState with angularJS and I noticed the codes in my controllers do not work when I navigate from page to page, how can I fix this issue?

mediastuttgart commented 8 years ago

same here, directives are also not recognized after navigating to another page.

scottblinch commented 7 years ago

We were able to resolve this issue by running angular.bootstrap(document, ['appName']); on smoothState's onAfter callback.