-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Directives are not being cached entirely in my project.
Within my project, I have this type of directive implementation:
File format names: app/modules/path/to/file-name-directive.js
Type of implementation:
angular.module('module.name')
.directive('nameOfDirective', nameOfDirective);
function nameOfDirective() {
return {
restrict: 'EA',
scope: {
item: '=',
},
templateUrl: 'path/to/file/test.html',
controller: TestDirectiveController
};
}
function TestDirectiveController($scope) {
...
}
ngComponents settings:
"ngComponents.directiveGlobs": [
"app/modules/**/*directive.js",
"app/**/*directive.js",
],
In this case, all the directive files with that implementations are not being cached and are not loaded by ngComponentUtility.
And 'Go-To Definition' doesn't work when I click on this directive: <name-of-directive item="test"></name-of-directive>
Metadata
Metadata
Assignees
Labels
No labels