cordova-plugin-themeablebrowser
cordova-plugin-themeablebrowser copied to clipboard
Unknown provider Error
Hi,
I want to call this theme browser with click event in my controller. I got unknown provider injector error. here is my code. Could you please tell what's wrong?
`.controller('myCtrl', function($scope, $state, $http, $ionicPlatform, $ionicLoading, $cordovaThemeableBrowser){
function openBrowser(){
$ionicPlatform.ready(function() {
$cordovaThemeableBrowser.open('http://myurl.com','_blank','');
});
};
})`
@gunerbayram try to use cordova.ThemeableBrowser.open directly without injecting.
I hope it helps :)