Examples of doing the same animation in various ways in angular