Skip to content

Commit bdf1e4a

Browse files
programmerdaveAwk34
authored andcommitted
fix(package): always make html2js a dependency
When you generate with the Jade option, the Karma.conf file still keeps the config for ng-html2js for any html files that may be present. This fix makes it so we always add the ng-html2js dependency to package.json to fix that. Closes #1722
1 parent fb2b3d7 commit bdf1e4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/templates/_package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@
155155
"karma-requirejs": "~0.2.2",
156156
"karma-jade-preprocessor": "0.0.11",
157157
"karma-phantomjs-launcher": "~1.0.0",<% if (filters.jade) { %>
158-
"karma-ng-jade2js-preprocessor": "^0.2.0",<% } else { %>
159-
"karma-ng-html2js-preprocessor": "~0.2.0",<% } %>
158+
"karma-ng-jade2js-preprocessor": "^0.2.0",<% } %>
159+
"karma-ng-html2js-preprocessor": "~0.2.0",
160160
"karma-spec-reporter": "~0.0.20",
161161
"sinon-chai": "^2.8.0",
162162
"mocha": "^2.2.5",<% if (filters.mocha) { %>

0 commit comments

Comments
 (0)