Hey everyone, I'm currently using Ionic and working with InAppBrowser from the controller $window. However, I'm facing some issues and could really use some help on how to solve them. Here is the code that I'm working with:
Controller
var options = {
location: 'yes',
clearcache: 'yes',
toolbar: 'no'
}
// Code for URL redirection
$scope.urlredirect = function (url) {
alert(url)
$window.open(url, '_blank', options);
HTML
<div class="card" ng-click=urlredirect('https://www.google.co.in/?gfe_rd=cr&ei=-K-iWb3mO-HH8gfMkpQo') >
<div class="item item-text-wrap" >
</div>
</div>