Click here to Skip to main content
15,916,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
I developed a site with API and MVC.
in MVC, I am using Angular JS to load partial view.
it is working correctly in chrome.
but in IE 10 is not working, it shows error as "angular is undefined".
i called angular js as follows:

<script type="text/javascript" src=""></script>
    <script src=""></script>
    <script src="~/Scripts/AngularJS/app.js"></script>

inside app.js, i used the following code:
var app = angular.module("app", ['ngRoute', 'http-error-handling']);
in this line, it throws exception as "angular is undefined"

Why don't you use the below one...for the route?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900