Skip to content

Module could not get injected after Uglifying #60

Description

@SidMorad

This is current code and not working after uglify task:

; (function( angular ) {
  "use strict";

  angular.module( 'logglyLogger.logger', [] )
...
...
  }]);

})(window.angular);

But this one works:

  "use strict";

  angular.module( 'logglyLogger.logger', [] )
...
...
  }]);

It seems first line and last line are not necessary,
Could this get fixed in next version ?
So we could use logglyLogger as a bower dependency.

p.s. if matters grunt-contrib-uglify version 0.10.1 was used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions