We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f70423b commit af08634Copy full SHA for af08634
templates/directiveComplex/name.directive.js
@@ -4,7 +4,7 @@ const angular = require('angular');
4
export default angular.module('<%= scriptAppName %>', [])
5
.directive('<%= cameledName %>', function() {
6
return {
7
- <%_ if(filters.webpack) { -%>
+ <%_ if(filters.indexOf('webpack') > -1) { -%>
8
template: require('./<%=name%>.<%=templateExt%>'),
9
<%_ } else { -%>
10
templateUrl: '<%= htmlUrl %>',
0 commit comments