Is there any way to tell WebStorm which type $ctrl
is in an AngularJS (v1) component HTML template file?
If it were a JavaScript file, I could use JSDoc, and WebStorm would use that information, and would detect correctly unused methods, etc.
WebStorm's documentation tells about Angular plugin, but that plugin doesn't seem to work with newer AngularJS components, only with older ng-controller
style.