ensures the installer clears angular cache

This commit is contained in:
perploug
2014-03-07 11:57:21 +01:00
parent 6a9a1d1547
commit 45f6d4f911

View File

@@ -30,3 +30,8 @@ angular.module("umbraco.install").controller("Umbraco.InstallerController",
installerService.gotoStep(0);
};
});
//this ensure that we start with a clean slate on every install and upgrade
angular.module("umbraco.install").run(function($templateCache){
$templateCache.removeAll();
});