Open
Description
Hi,
When using the following code, the "getLang" function isn't recognized by WebStorm 11.0
angular.module('app').controller('languageCtrl', languageCtrl); languageCtrl.$inject = []; function languageCtrl() { var vm = this; vm.getLang = getLang; function getLang() {} }
When changing the function name to something else than the controller name (e.g. languageController), the controller method are recognized.
Any idea how to fix this?