How to add iOS geolocation keys for ngCordova Geolocation plugin?



How do I use NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription when using ngCordova Geolocation plugin? Do I even need to use it? I mean is it even necessary because as far as I know iOS 8 requires either one of these keys to approve your app when using Geolocation. But I installed the ngCordova plugin and I just got the coordinates. Basically the ngCordova geolocation just worked. So basically I’m just making sure if it’s necessary because I need the Apple Store to approve my app. So is it?

For example in native iOS, see this picture: