allaud / ng-route-ext

Extended version of AngularJS ngRoute module that supports namings and different animations between views
MIT License
5 stars 2 forks source link

Animation in/out ng-view #2

Open SimonatoLucaManuele opened 9 years ago

SimonatoLucaManuele commented 9 years ago

Hi, I'm using your ng-route-ext in my last project. In the animation.js I animate elements both inside and outside the ng-view. When I load a subpage directly from url (or reload the subpage), the animations outside the ng-view aren't loaded. How can this be fixed?

This is the test link

http://gaga.opificiolamantinianonimi.com

Thank you!

allaud commented 9 years ago

Can you please provide an isolated example or just code example? Say, on jsfiddle

SimonatoLucaManuele commented 9 years ago

This fiddle doesn't work.. but you can see the html and the js structure!

https://jsfiddle.net/derkoe/Wk7WD/

allaud commented 9 years ago

And whats the link between ng-route-ext and your example?

SimonatoLucaManuele commented 9 years ago

The link is that the animations called by ng-route-ext aren't loaded when I load a page directly or reload the same page. In the example you can see the html and the js structure.