Get position of an html div


#1

I am wondering if it is possible somehow to get the position of a certain div with ionic framework?

I am trying to scroll to that div when the user click on a tab.

I tried to do this with:

$ionicScrollDelegate.scrollTo()