Angularjs Uncaught Error: [$injector:unpr]
I am developing shoping website with java and I am using angurajs. I have problem with thise files: DashboardControll.js 'use strict'; var app = angular.module('DashboardApp',
Solution 1:
Looks like you are using two angular.module
inside you application authApp
& DashboardApp
, then you should have make available your service to DashboardApp
module by inject authApp
into it.
varapp= angular.module("DashboardApp", ["authApp"]);
Assuming authApp
should be intialize somewhere like this angular.module('authApp',[])
Post a Comment for "Angularjs Uncaught Error: [$injector:unpr]"