Skip to content

A Serious ISSUE #24

Open
Open

Description

@lokielse

hi, Mischi, It's an usefult directive, and please change the follow

angular.module('imageupload', [])
    .directive('image',  function($q) {...}

to

angular.module('imageupload', [])
    .directive('image', ['$q', function($q) {...}]

otherwise, it is not work after uglify. for the param $q may be converted to another name such as a,b,c,f, etc by uglify compiler.

Activity

  1. jdhiro commented on Mar 14, 2014

    @jdhiro
  2. lokielse commented on Mar 14, 2014

    @lokielse
    Author

    @jdhiro thanks, nice.

  3. boxxxie commented on Mar 18, 2014

    @boxxxie

    maybe this repo should have a build script so that we don't have to rely on our own minification build to work, or to rely on ngmin to work (i'm on a project where ngmin actually doesn't work).

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