Merge pull request #2051 from spautz/minification-fix-issue-2050

fix($ionicTemplateCache): explicitly list dependency for minification
This commit is contained in:
Adam Bradley
2014-08-28 12:14:43 -05:00

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();
}]);
})();