Best UX practice to enable denied geolocation

Hi, once user deny geo location, how can we provide an UX in order to enable it back?
To me, it seems better to show a settings page and a switch on/off… However, I couldn’t find any ngCordova services to enable geo location.

How can we handle this? Is there an example?