[WebStorm] [AngularJS] - Missing parameter info when trying to create a new instance of a factory

On new MyFactory() it should automatically display the available parameters for MyFactory, however it doesn't. Pressing CTRL + P doesn't help either. 

Here an example of how I define MyFactory.

https://pastebin.com/NPNAyaDc

Paste the content into a MyFactory.js and include it into your AngularJS project. Then try to include the module and factory within another factory and try to create an instance of it.

var _myFactoryInstance = new MyFactory(<MISSING PARAMETER INFO>);

Any ideas? 

Please sign in to leave a comment.