angular-360-no-scope icon indicating copy to clipboard operation
angular-360-no-scope copied to clipboard

Issue if constructor param is array and not function

Open MartinKei opened this issue 8 years ago • 1 comments

The documentation defines the register method of the $controllerProvider as method which accepts as constructor parameter either:

  • A function (which your code works)
  • An array containing the dependencies.

In my case the parameter looks like that: ['dep1', 'dep2', 'dep3', function() { }]

In that case the prototype-property is undefined.

MartinKei avatar Apr 11 '16 10:04 MartinKei

I have the same issue, when I minifing my code (https://github.com/christopherthielen/angular-360-no-scope/issues/15). Do you have solution for this bug?

sashberd avatar Dec 04 '16 07:12 sashberd