angular-360-no-scope
angular-360-no-scope copied to clipboard
Issue if constructor param is array and not function
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.
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?