angularjs - ngStorage [$injector:modulerr] Error -


i did following in code:

angular-core.js:

var jdi = angular.module('jdi', ['ngstorage']); 

login.html:

<!-- angular --> <script src="/assets/vendor/angular/angular.min.js"></script> <script src="/assets/vendor/angular/angular-route.min.js"></script> <script src="/assets/vendor/angular/angular-cookies.js"></script> <script src="/assets/vendor/angular/angular-loader.js"></script> 

it gives me error:

uncaught error: [$injector:modulerr] http://errors.angularjs.org/1.3.14/$injector/modulerr?p0=jdi&p1=error%3a%20…2flocalhost%3a3000%2fassets%2fvendor%2fangular%2fangular.min.js%3a17%3a381) 

i'm new angular, can tell me im doing wrong here?

angular not inject module required. here, module code sample ngstorage, , login.html seems did not load ngstorage javascript; if ngstorage https://github.com/gsklee/ngstorage, should have

<script src="/assets/vendor/ngstorage/ngstorage.min.js"/> 

Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -