Closed fhamarshi closed 8 years ago
is supposed to be an array of all of your dependencies` var mainMod = angular.module('MainApp', 'ngRoute'],['checklist-model']);
You should use it like this
var mainMod = angular.module('MainApp', ['ngRoute', 'checklist-model']);
You have two arguments - first the module name and second an array with dependencies - not three arguments.
hello guys, I was trying to use checklist-model in my app but I caught an error that I have figured out it was because of using ngRoute in the same app.
var mainMod = angular.module('MainApp', ['ngRoute'],['checklist-model']);
The error:
If there is any solution for this I will be happy to know.
Thanks for your efforts