Wildhoney / ngVideo

Modularised ~13KB HTML5 audio/video implementation using Angular.js
http://ng-video.herokuapp.com/
MIT License
227 stars 60 forks source link

Unknown provider on injecting "video" in controller. #40

Open anujaykumar opened 8 years ago

anujaykumar commented 8 years ago

Error: [$injector:unpr] Unknown provider: videoProvider

.controller("myCtrl",["$scope","$sce","$ionicLoading","$filter","video",function($scope,$sce,$ionicLoading,$filter,video){

}

here i am getting error on injecting video

Carnid commented 8 years ago

Make sure that angular.module('app', ['ngVideo']) is there and that your <script src="path.to.ng-video.js"> is in your main html file.