I want open a web page in my app, I know I should use ngCordova InAppBrowser
plugin, but how can I open the webpage in $ionicModal
? like twitter, facebook mobile apps and ...
I have this button :
<button class="button button-block button-assertive" ng-click="doPay()">Pay</button>
and in doPay()
I have :
$scope.doPay = function(){
window.open(url, '_system', 'location=no');
};
but this code use external app (Safari
), I want open in my application.