marcuswestin / store.js

Cross-browser storage for all use cases, used across the web.
MIT License
14.01k stars 1.33k forks source link

TypeError: Cannot read property 'module' of undefined in angularjs #247

Open Pruthvi96 opened 7 years ago

Pruthvi96 commented 7 years ago

I am getting this error when compiling the program. Error : angular.module('User Details', []); ^ TypeError: Cannot read property 'module' of undefined

code : 'use strict';

// declare modules var angular; angular.module('User Details', []); angular.module('Home', []); angular.module('Customers', ['kendo.directives', 'ngResource']);

angular.module('BasicHttpAuthExample', [ 'Details', 'Home', 'Customers', 'ngCookies', 'ngRoute' ])