Can we have animations at a common place in angular 2. I am new to angular 2, was trying to implement one animation. Found out that the same animation will be needed on different pages. Is there a way I can write animation at a common place and import it? Pardon me if I asked anything very stupid. :)
Editing the question for better clarity: sample
plunker I need this sort of animation at 2 components. Do I need to write this animation every time in that component of can I write it at some common place(module or component) and import it.