-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Hi, i have some proble when i try to implement angular-sails in my angular-laravel-admin project.
I install angular-sail package with bower and in my index.module.js i have this:
angular.module('app.components', [ 'ui.router', 'angular-loading-bar', 'restangular', 'ngStorage', 'satellizer', 'ui.bootstrap', 'chart.js', 'mm.acl', 'datatables', 'datatables.bootstrap', 'checklist-model', "angular-sails" ])
and in my component look like this
class EmissionPolicyListsController{ constructor($scope, $state, $log, $compile, DTOptionsBuilder, DTColumnBuilder, API, $stateParams, $uibModal, $http, ngSails){
when i run the app, show me this error message
Error: [$injector:modulerr] Failed to instantiate module app.components due to: Error: [$injector:modulerr] Failed to instantiate module angular-sails due to: Error: [$injector:nomod] Module 'angular-sails' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
Can someone tell me what I'm doing wrong ?
Thx