jose jose - 1 year ago 71
AngularJS Question

ionic not redirecting in inappbrowser

hi all i am using ionic working with inappbrowser from controller $window but i am not able to achieve help how to solve here i attached my code


var options = {
location: 'yes',
clearcache: 'yes',
toolbar: 'no'

//url redirect code
$scope.urlredirect = function (url) {
$, '_blank', options);


<div class="card" ng-click=urlredirect('') >
<div class="item item-text-wrap" >


Answer Source

Try switch $window to window:, '_blank', 'location=yes');
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download