1

I'm getting an $injector:modulerr error

index.html (loading the idle js at the end, after everything)

<script src="/lib/ng-idle/angular-idle.js"></script>

Angular, ngIdle

app = angular.module("lpApp", ['ngGrid', 'ngCookies', 'ui.sortable', 'toaster','ngIdle', 'ui.bootstrap', 'ui.utils', 'ui.date', 'ngTable']);

The error occurs here, for some reason ngIdle is causing a problem when trying to bootstrap.

angular.element(document).ready(function() {
angular.bootstrap(document, ['lpApp']);
});

0 Answers0