Skip to content

Instantly share code, notes, and snippets.

@libbymo
Created May 5, 2013 22:27
Show Gist options
  • Save libbymo/5522443 to your computer and use it in GitHub Desktop.
Save libbymo/5522443 to your computer and use it in GitHub Desktop.
A rude introduction to trying to animate a one page app in Angular. Some gotchas.
Animations
==========
Wow, so this was the first time trying to add them. I can see it's a game of nuance. Animations on the view, is probably not the best. If I have time I'll try to do something on the ngRepeat.
I opted for making animations a focus prior to consolidating my $http calls, as I'd like to get a semi-prototype and make it look like it's actually a one page app. But wonder if I should have done more with ngHide, ngShow. But no time! So trying to do the best. What I think is awful - the disappearing content when switching views. So trying to obscure that as much as possible with the transition. To no avail. Like lipstick on a pig. But I'm hoping if I make the pig disappear fast enough, you won't have time to wretch into your wastebasket.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment