How to add scroll to top in ionic

Hello i want to add scroll to top in existing ionic app how can i achive that? TIA

@sarveshamrit What version of the Ionic framework are you on?

I am currently on Ionic v1.

@luukschoen Can u help me in this topic sir?

Yes, you should use $ionicScrollDelegate.scrollTop(); for that. Documentation regarding the $ionicScrollDelegate can be found over here:$ionicScrollDelegate/