I am using this library for creating web intent. Whenever I try to pass intent I get this error
077774 error TypeError: Cannot read property 'webintent' of undefined
at Scope.$scope.openVideo (http://localhost:8100/js/controllers.js:38:21)
This is my code:
$scope.openVideo = function(video){
window.plugins.webintent.startActivity({
action: WebIntent.ACTION_VIEW,
url: 'geo:0,0?q=' + 'new-york'
},