generator-cg-angular
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -70,4 +70,6 @@ 'use strict'; | ||
this.htmlPath = this.dir + this.name + '.html'; | ||
cgUtils.processTemplates(this.name,this.dir,'directive',this,defaultDir,configName); | ||
}; |
@@ -8,3 +8,3 @@ angular.module('<%= appname %>').directive('<%= _.camelize(name) %>', function() { | ||
}, | ||
templateUrl: 'directive/<%= name %>/<%= name %>.html', | ||
templateUrl: '<%= htmlPath %>', | ||
link: function(scope, element, attrs, fn) { | ||
@@ -11,0 +11,0 @@ |
{ | ||
"name": "generator-cg-angular", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Yeoman Generator for Enterprise Angular projects.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -16,3 +16,3 @@ #generator-cg-angular | ||
* Integrates LESS and includes Bootstrap via the source LESS files allowing you to reuse Bootstrap vars/mixins/etc. | ||
* Easily Testable - Each sub-generator creates a skeleton unit test. Unit tests can be run via `grunt test` and they run automatically during the grunt watch that is active during `grunt server`. | ||
* Easily Testable - Each sub-generator creates a skeleton unit test. Unit tests can be run via `grunt test` and they run automatically during the grunt watch that is active during `grunt serve`. | ||
@@ -30,3 +30,3 @@ Directory Layout | ||
admin-directive1.js ........ example simple directive | ||
admin-directive-spec1.j..... example simple directive unit test | ||
admin-directive1-spec.js.... example simple directive unit test | ||
/admin-directive2 ............ example complex directive (contains external partial) | ||
@@ -33,0 +33,0 @@ admin-directive2.js ........ complex directive javascript |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51126
831