Suppose I generate a component using command yo fountain-angular1:component --name myComponent --dir components/myComponent
The result will create:
templateUrl: 'app/components/myComponent/myComponent.html' in myComponent.js
but will create
templateUrl: 'app/myComponent.html' in myComponent.spec.js
Suppose I generate a component using command
yo fountain-angular1:component --name myComponent --dir components/myComponent
The result will create:
templateUrl: 'app/components/myComponent/myComponent.html'
in myComponent.js but will createtemplateUrl: 'app/myComponent.html'
in myComponent.spec.js