I've a simple AngularJS app that looks like:
(function () {
"use strict";
var userApp = angular.module("userApp", ["ngRoute", "ngSanitize"])
.config(function($routeProvider) {
$routeProvider.when("/", {
controller: "userController",
controllerAs: "uc",
templateUrl: window.applicationBaseUrl + "Angular/UserApp/Template/Index.html"
});
$routeProvider.otherwise({ redirectTo: "/"});
});
})();
The problem is whenever I edit the Index.html
template file, it doesn't refresh. It seems the template is caching in my chrome browser possible?
Is there a way to get around this?