Skip to content
This repository was archived by the owner on Apr 5, 2021. It is now read-only.

Commit 3fe7f85

Browse files
committed
fix directive partial import bug
1 parent e0f9a73 commit 3fe7f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generators/directive/templates/_directive.directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% if (needsPartial) { %>import directiveTpl from './<%= directiveName %>.html';
1+
<% if (needsPartial) { %>import directiveTpl from './<%= directiveName.directive %>.html';
22
<% } %>
33
function <%= directiveNameCamel %>Directive() {
44
'ngInject';

0 commit comments

Comments
 (0)