mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Fix: Explicitly list dependency so that minification works. Fixes #2050
This commit is contained in:
8
js/angular/service/templateCache.js
vendored
8
js/angular/service/templateCache.js
vendored
@@ -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();
|
||||
}]);
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user