Here is my simplified code:
index.html
<html ng-app="app">
<script
src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"
type="text/javascript"></script>
<script
src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-route.js"
type="text/javascript"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular-resource.min.js"></script>
<script src="http://cdn.wijmo.com/interop/angular.wijmo.3.20142.45.min.js"
type="text/javascript"></script>
<script type="text/javascript" src="app/app.js"></script>
......
<body>
<menu>
<li><a>Home</a></li>
<li><a>Reports</a>
<ul>
<li><a href="#/report"> Reports</a></li>
</ul>
</li>
</menu>
<div ng-view></div>
</body>
</html>
app.js
"use strict";
angular.module("app", [ "ngRoute"]).
config(function ($routeProvider) {
$routeProvider.
when("/report", { templateUrl: "report.html" });
});
When I select menu and click on it nothing happens. Please help.
Thanks
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.