Code for the scotch.io tutorial: Animating Single Page Angular Apps