-1

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?

lin
  • 16,787
  • 4
  • 49
  • 79
cool breeze
  • 3,739
  • 2
  • 27
  • 50
  • 1
    Possible duplicate of [AngularJS disable partial caching on dev machine](https://stackoverflow.com/questions/14718826/angularjs-disable-partial-caching-on-dev-machine) – lin Nov 08 '17 at 20:20

1 Answers1

0

Chrome : F12 -> Network tab -> Check disabled cache and try Ctril + F5

Dakota
  • 415
  • 2
  • 10