////禁止模板缓存
app.run(function($rootScope,$templateCache) {
$rootScope.$on('$routeChangeStart', function(event,next,current) {
if (typeof(current) !== 'undefined'){
$templateCache.remove(current.templateUrl);
}
});
});
////禁止模板缓存
app.run(function($rootScope,$templateCache) {
$rootScope.$on('$routeChangeStart', function(event,next,current) {
if (typeof(current) !== 'undefined'){
$templateCache.remove(current.templateUrl);
}
});
});