Skip to content

Webstorm's "unresolve function or method" using this styleguide #659

Open
@admons

Description

@admons

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions