Fix: Explicitly list dependency so that minification works. Fixes #2050

This commit is contained in:
Steven Pautz
2014-08-21 14:05:11 -04:00
parent e00e938040
commit a2377cfbb7

View File

@@ -116,8 +116,10 @@ function($stateProvider, $ionicConfigProvider) {
}])
// process the templateUrls collected by the $stateProvider, adding them to the cache
.run(function($ionicTemplateCache) {
$ionicTemplateCache();
});
.run([
'$ionicTemplateCache',
function($ionicTemplateCache) {
$ionicTemplateCache();
}]);
})();