No dice. Angular is autocompleting and recognzing everything in html files. It's recognizing things like scope.$watch. Maybe it's just something weird with angular.forEach.
Do you have this error reported for 'angular', for 'forEach', or for both? Is 'angular' imported in current file (via angular = require('angular'), etc.)? From the code snippet it seems that you define your Angular directive as CommonJS module - in such cases PhpStorm expects referenced modules to be imported explicitly
Please try to run File > Invalidate Caches/Restart > Invalidate and Restart.
No dice. Angular is autocompleting and recognzing everything in html files. It's recognizing things like scope.$watch. Maybe it's just something weird with angular.forEach.
Do you have this error reported for 'angular', for 'forEach', or for both? Is 'angular' imported in current file (via angular = require('angular'), etc.)? From the code snippet it seems that you define your Angular directive as CommonJS module - in such cases PhpStorm expects referenced modules to be imported explicitly