cordova-plugin-themeablebrowser icon indicating copy to clipboard operation
cordova-plugin-themeablebrowser copied to clipboard

Unknown provider Error

Open gunerbayram opened this issue 8 years ago • 1 comments

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 avatar Mar 03 '17 14:03 gunerbayram

@gunerbayram try to use cordova.ThemeableBrowser.open directly without injecting.

I hope it helps :)

VitorHFLopes avatar Jun 13 '17 20:06 VitorHFLopes