I'm facing some challenges while trying to develop my first angular app. Unfortunately, it's not functioning properly and I can't seem to pinpoint the issue. Even after checking the console, no errors are being displayed.
<head>
<meta charset="utf-8">
<script src="https://code.angularjs.org/1.6.0/angular.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.6.0/angular-route.js"></script>
</head>
<body ng-app="myApp">
<h1>Testing Angular App</h1>
<a href="#/">Home</a>
<a href="#sec">Second Page</a>
<a href="#th">Third Page</a>
<div ng-view></div>
</body>
<script>
var app = angular.module("myApp", ["ngRoute"]);
app.config(function($routeProvider) {
$routeProvider
.when("/", {
templateUrl : "main.html"
})
.when("/sec", {
templateUrl : "sec.html"
})
.when("/th", {
templateUrl : "th.html"
});
});
</script>
Seeking assistance from anyone who can guide me through this challenge. Thank you!