How to open an url using location service?

Dear Guys,

Please kindly help me :

Thanks a lot for your time :smile:

Its better to use $stateProvider and you also need to add whitelist plugins to access external resources.