I'm working on a project where I need to integrate a video plugin named "videogular" on angular-filemanager using electronJS platform .
this is the link for the videogular
this is my project Dependency Injection :
(function (angular) {
'use strict';
var FileManagerApp = angular.module('FileManagerApp');
FileManagerApp.controller('FileManagerCtrl',
['$scope',
'$rootScope',
'$window',
'$translate',
'fileManagerConfig',
'item', 'fileNavigator',
'apiMiddleware',
function ($scope,$rootScope, $window, $translate, fileManagerConfig, Item, FileNavigator, ApiMiddleware)
and this is the videogular Dependency Injection :
angular.module('myApp',
[
"ngSanitize",
"com.2fdevs.videogular",
"com.2fdevs.videogular.plugins.controls",
"com.2fdevs.videogular.plugins.overlayplay",
"com.2fdevs.videogular.plugins.poster"])
.controller('HomeCtrl',
["$sce", function ($sce) {
}]
);
when I tried to integrate it this way :
(function (angular) {
'use strict';
var FileManagerApp = angular.module('FileManagerApp',
[
"ngSanitize",
"com.2fdevs.videogular",
"com.2fdevs.videogular.plugins.controls",
"com.2fdevs.videogular.plugins.overlayplay",
"com.2fdevs.videogular.plugins.poster"]);
FileManagerApp.controller('FileManagerCtrl',
[
'$scope',
'$sce',
'$rootScope',
'$window',
'$translate',
'fileManagerConfig',
'item',
'fileNavigator',
'apiMiddleware',
function (
$scope ,
$sce,
$rootScope,
$window,
$translate,
fileManagerConfig,
Item,
FileNavigator,
ApiMiddleware) {
please help me figure out this problem.