I recommend also the FAQ of ui-router: 
https://github.com/angular-ui/ui-router/wiki/Frequently-Asked-Questions#wiki-how-to-animate-ui-view-with-ng-animate

Am Samstag, 25. Januar 2014 21:05:53 UTC+1 schrieb Martin:
>
> Hi Jacky,
>
> you should take a look on this: 
> https://groups.google.com/forum/#!category-topic/angular-ui/router/h_ETkSq2N4k
>
> I changed your plnkr to another angular-ui-router version from dlukez: 
> https://github.com/dlukez/ui-router/blob/angular-1.2/release/angular-ui-router.js
> That is the only change: 
> http://plnkr.co/edit/U2x3IeO7NvkYnjPqnzwZ?p=preview
>
> Regards 
> Martin
>
>
> Am Samstag, 25. Januar 2014 18:38:50 UTC+1 schrieb Jacky See:
>>
>> Hi,
>>
>> I try to use ui-router and ngAnimate to create a simple sliding view 
>> typical in mobile. The result is that when state change, the browser jump 
>> to the targeted view first and then slowly return to the first view. Please 
>> see this sample:
>>
>> http://run.plnkr.co/plunks/24IxbOW1UGRYt1rKwugQ/
>>
>> It appears to me that it is a default angularJs behaviour to jump to the 
>> ng-view/ui-view directly. I've tried to disable this by setting 
>> `$anchorScroll` to `angular.noop` but seems not working. Any idea?
>>
>

-- 
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/groups/opt_out.

Reply via email to