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

Commit b55cf09

Browse files
authored
Merge pull request #36 from A-Tokyo/development
Development
2 parents 8bd8541 + 3fe7f85 commit b55cf09

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-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';

test/test-scenarios/test-scenario1.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
yo at-angular --d
2+
3+
yo at-angular:page page
4+
5+
yo at-angular:component comp
6+
yo at-angular:component comp/nested-comp
7+
yo at-angular:directive comp/nested-directive
8+
yo at-angular:service comp/nested-service
9+
10+
yo at-angular:component comp2
11+
yo at-angular:component comp2/nested-comp2
12+
yo at-angular:component comp2/nested-comp2/nested-nested-comp2
13+
yo at-angular:directive comp2/nested-comp2/nested-nested-comp2/nested-nested-comp2-directive
14+
yo at-angular:service comp2/nested-comp2/nested-nested-comp2/nested-nested-comp2-service
15+
16+
yo at-angular:service service
17+
yo at-angular:directive directive

0 commit comments

Comments
 (0)