Wednesday, July 13, 2016

Error: [$injector:nomod] Module ‘ngRoute’, ‘ngResource’ is not available – AngularJS

During An Angular Application devlopement i confronted various errors and the given below is one of them as shown below:

Uncaught Error: [$injector:modulerr] Failed to instantiate module routingApp due to:

Error: [$injector:modulerr] Failed to instantiate module ngRoute due to:

Error: [$injector:nomod] Module 'ngRoute' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.$injector/nomod?p0=ngRoute


The possible errors rises because of the latest js library is not placed in current use the following link to mitigate such error.Add the given below reference in that file where you have placed routing configuration.

  <script src=""></script>

Hope it will resolve an error.


1 comment :

  1. Really i enjoyed very much. And this may helpful for lot of peoples. So you are provided such a nice and great article within this.

    SEO Company in Chennai