163774/angular-js-uncaught-error-injector-modulerr
I am having a problem with Angular JS receiving an ERROR : Uncaught Error: [$injector:modulerr]. My JS-file looks like:
angular.module('MyApp', ['ngRoute']); angular.module('MyApp',['ngResource']); function TwitterCtrl($scope,$resource){ }
I also included angular-route-js
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.7/angular.min.js"> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.7/angular-route.min.js">
The answer to your question is simple and doable. To do so, try adding this:
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.7/angular-resource.min.js"></script>
To know more about Angular, It's recommended to join Angular Online Training today.
You need these three things : 64-bit OS 64-bit ...READ MORE
There are combinations of Operating System, JDK ...READ MORE
Till you send the code, I would ...READ MORE
stackoverflow error – StackOverflow Error in Java. This error is thrown to ...READ MORE
Let us consider the below block: <div ng-controller="emp"> ...READ MORE
Hey, All the element present in html follows ...READ MORE
display:none means that the tag in question will ...READ MORE
Hello, You should follow the below steps:-- 1.Compile and ...READ MORE
Use the following lines of code in ...READ MORE
This worked for me: Right click on your ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.