angular.min.js:80 Error: [ng:areq] http://errors.angularjs.org/1.2.9/ng/areq?p0=specificationController&p1=not%20a%20function%2C%20got%20undefined
at angular.min.js:2
at ub (angular.min.js:14)
at Pa (angular.min.js:14)
at angular.min.js:57
at angular.min.js:45
at q (angular.min.js:3)
at E (angular.min.js:44)
at f (angular.min.js:38)
at angular.min.js:38
at angular.min.js:14
This error is caused by a page that has no or incorrect reference to the ng-controller.
Uncaught ReferenceError: app is not defined
at angular-select2.js:12
The app is not defined error
The reason is caused by the wrong reference js, you need to reference the js file defined by the app module between the select2 components.
angular.min.js:80 Error: [$interpolate:interr] http://errors.angularjs.org/1.2.9/$interpolate/interr?p0=%7B%7BjsonToString(entity.specIds%2C’text’)%7D%7D&p1=TypeError%3A%20Cannot%20read%20property%20’length’%20of%20null
at angular.min.js:2
at Object.s (angular.min.js:69)
at h.$digest (angular.min.js:96)
at h.$apply (angular.min.js:99)
at f (angular.min.js:63)
at E (angular.min.js:67)
at XMLHttpRequest.v.onreadystatechange (angular.min.js:68)
If the json object is null, the call to its length property will give an error, for good use, the object should be null
Similar Posts:
- [Solved] The cause of the wrong prompt instruction [ng: areq] in angular
- [Solved] Easyui Error: Cannot read property ‘length’ of null
- JS Uncaught TypeError: Cannot read property ‘style’ of undefined(…)
- How to Use Array.prototype.slice.call(arguments)
- How to Solve Mac Sed Error: command c expects followed by text
- used in key specification without a key length
- SQL Error: 1064, SQLState: 42000 [Three Methods to Solve]
- TypeError: Cannot read property ‘length’ of null
- Always report uncaught error:[$ injector:modulerr ]Solutions to errors
- Yeoman -- AngularJS Full-Stack generator