Indeed this was intended, as pointed out in the description, a module can be defined once with the dependencies array, but can be used after without them to create other components. The test is trying to show the difference between:
Thanks! yep I could have changed all the wrappers, would improve readability for sure :)
I like very much the way you've extracted the inner formulas, that's very intuitive!
Good point! I have added that requirement. Thanks!
Indeed this was intended, as pointed out in the description, a module can be defined once with the dependencies array, but can be used after without them to create other components. The test is trying to show the difference between:
angular.module('app', [])
and
angular.module('app').controller(function(){})
without overcomplicating things.
Fixed, thanks for the catch
Thank you!
Nice Kata!
translation to JS ready :)
Thanks! yep I could have changed all the wrappers, would improve readability for sure :)
I like very much the way you've extracted the inner formulas, that's very intuitive!
Getting the same error. After hours of trying I had to unlock the solutions to see that people had the same solution as I had!! this is so mental :(