I have a application that animates on route change. But, I don't want to animate on certain paths. I only want animation to trigger when the route path is NOT '/' Tried this and have been searching for a solution online but i can't find any:
<main class="col-12 pt-5" [@routeAnimation]="o.isActivated ? o.activatedRoute.url !== '/' ? o.activatedRoute : '' : ''">
<router-outlet #o="outlet"></router-outlet>
</main>
Is there anyone who have had a similar problem?