AngularJS errors.angularjs.org - error documentation link gets 404 error
Clash Royale CLAN TAG#URR8PPP
AngularJS errors.angularjs.org - error documentation link gets 404 error
I'm adding a provider to my Angular 1.6.6 project as:
angular.module('mymodule').provider('foo', function() { return });
That's it, I'm not even instantiating the provider in config, just declaring it in my source and it breaks my code. The weird part is that by clicking on the console link that usually opens the Angular error page, now it goes to a 404 error:
copied directly from console
1 Answer
1
Failed to instantiate module demo due to:
Error: [$injector:modulerr] http://errors.angularjs.org/1.6.6/$injector/modulerr?p0=g...)
at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:7:76
at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:43:70
at p (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:8:7)
at g (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:42:138)
at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:42:322
at p (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:8:7)
at g (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:42:138)
at hb (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:46:250)
at c (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:22:19)
at Uc (https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.6/angular.min.js:22:332
See fixed link below --
Changed errors.angularjs.org
to docs.angularjs.org/error
errors.angularjs.org
docs.angularjs.org/error
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Provider 'foo' must define $get factory method << you better copy this line from console
– Petr Averyanov
Aug 10 at 14:45