How to use $ionicPosition?


#1

Hi:

I included $ionicPosition in my controller but it seems to get me: Uncaught ReferenceError: $ionicPosition is not defined.

I want to use position method.
What to do to make it work?


#2

Define it at controller.