Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- angular.module('home', [])
- .controller('homeHomeController', HomeHomeController)
- .controller('homeContentController', HomeContentController);
- class HomeHomeController {
- static $inject = [
- '$http',
- 'examService',
- 'stateService',
- 'userService'
- ];
- constructor(
- private $http: ng.IHttpService,
- private $es: IExamService,
- private $ss: IStateService,
- private $us: IUserService
- ) {
- var self = this;
- }
- }
- Error: [ng:areq] Argument 'HomeHomeController' is not a function, got undefined
- http://errors.angularjs.org/1.3.0/ng/areq?p0=HomeHomeController&p1=not%20aNaNunction%2C%20got%20undefined
- at http://127.0.0.1:17315/Scripts/angular.js:80:12
- at assertArg (http://127.0.0.1:17315/Scripts/angular.js:1610:11)
- at assertArgFn (http://127.0.0.1:17315/Scripts/angular.js:1620:3)
- at http://127.0.0.1:17315/Scripts/angular.js:8319:9
- at http://127.0.0.1:17315/Scripts/angular.js:7496:34
- at forEach (http://127.0.0.1:17315/Scripts/angular.js:343:20)
- at nodeLinkFn (http://127.0.0.1:17315/Scripts/angular.js:7483:11)
- at compositeLinkFn (http://127.0.0.1:17315/Scripts/angular.js:6991:13)
- at publicLinkFn (http://127.0.0.1:17315/Scripts/angular.js:6870:30)
- at compile (http://127.0.0.1:17315/Scripts/angular-ui-router.js:3335:9)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement