Ad
  • Default User Avatar

    This is no issue.
    It is explained in the description and in the link.

  • Default User Avatar

    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.

  • Default User Avatar

    Fixed, thanks for the catch