angularjs - WebStorm navigate to Angular directive with dependencies not working -
i using webstorm 8.0.4 , when have module of type:
var module = angular.module('mymodule'); module.directive('mydirective', function() { return { templateurl: 'xxx.html', restrict: 'e' }; });
it works fine when ctrl + clicking on element within webstorm, such as:
<my-directive></my-directive>
but not when directive includes dependencies such as:
var module = angular.module('mymodule'); module.directive('mydirective', ["$scope", function($scope) { return { templateurl: 'xxx.html', restrict: 'e' }; }]);
anybody encountering same issue?
please try upgrading - web-13091 fixed in webstorm 9
Comments
Post a Comment