Open external links in Safari


By default clicking an external link in the app opens the link in the same embedded browser that the app runs in. When this happens the user can not navigate back to the app, since next/prev buttons is not displayed in the embedded browser.

How can I catch clicks on all external links and open them in Safari?



.controller( 'FooCtrl', [ '$scope',  '$cordovaInAppBrowser', function( $scope, browser ) {
....... href, '_system' );