From e445cc565be2c2d4cb61e64afca38ebc01403c9b Mon Sep 17 00:00:00 2001 From: Diego Netto Date: Tue, 29 Jul 2014 15:22:49 -0500 Subject: [PATCH] fix(generator): Fix broken template reference in index.html by running it through Yeoman engine --- app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index e8964d2..67120ed 100644 --- a/app/index.js +++ b/app/index.js @@ -118,7 +118,7 @@ IonicGenerator.prototype.setupEnv = function setupEnv() { }; IonicGenerator.prototype.readIndex = function readIndex() { - this.indexFile = this.read(path.join(this.starterCache, 'index.html')); + this.indexFile = this.engine(this.read(path.join(this.starterCache, 'index.html')), this); }; IonicGenerator.prototype.appJs = function appJs() {