How to disable Template Cache on routeChange in Angular 1.*?
Santosh Kumar Adidawarpu
Below code to disable Template Cache on routeChange: app.run(function ($rootScope, $templateCache) {$rootScope.$on('$routeChangeStart', function (_event, _next, _current) {if (typeof (_current) !== 'undefined') {$templateCache.remove(current.templateUrl);}}); });