Webstorm: cannot resolve angularjs anchor (hashtag) references to other files -


i've got working angular app. navigation implemented using ngroute. works well. but, when trying leverage webstorm navigation feature html file clicking on href="#xxx" tag, reference error (from webstorm).

"xxx" defined in angular.module -

   .config(['$routeprovider', function($routeprovider) {   $routeprovider.when('/xxx', {     templateurl: 'xxx/my-file.html',     controller: 'myctrl'   }); 

and reference inside html (which works in run time) -

<a href="#xxx">my link text</a> 

from message itself, looks webstorm looking anchor inside same html file , not considering ngroute definition.

any idea?

just got reply webstorm official support - behavior not supported. created respective request on tracker - https://youtrack.jetbrains.com/issue/web-17238. you're welcome vote it:-).


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -