Animation on tabs with external files


just want to add an animation to the ionic tabs example. I found this link right here, and there it works:

The difference to the ionic example project is, that he wrote all pages into one .html file. The Ionic example uses for each page different templates. If I add the animation attribute to the tab.html, it doesn’t work:

<ion-tabs class="tabs-icon-top"  animation="slide-left-right">

How can I add an animation if I use templates and don’t write everything in one file?