My thoughts on this are to use ui-router.

And just nest your views on a ui-view:

<div ui-view id="main">
   <div ui-view id="sub">
   </div>
</div>

When the page loads, both of these views will have the class "ng-enter", 
"ng-enter-active", and so on.

So you can basically key off of if the "main" ui-view has those classes to 
determine if the sub-view should animate.

#main.ng-enter #sub
   // prevent animation for sub view


On Tuesday, June 25, 2013 2:15:24 PM UTC-7, Martin wrote:
>
> Hi,
>
> i please need an advice on how i can prevent animation of ngRepeat in 
> ngView on initial page load but preserve the animation on filtering the 
> items (enter/leave)?
> Plnkr: http://plnkr.co/edit/sc1nne <http://plnkr.co/edit/sc1nne?p=preview>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to