Skip to content

Minified files and injecting depencies #76

Description

@Revokee

I ran into an issue where angular-swiper minified files (minified by Rails Asset Pipeline) were not working because this library doesn't inject dependencies.

For those with this issue, I changed this:

controller: function($scope, $element, $timeout) {...},

to this:

controller: ['$scope', '$element', '$timeout', function($scope, $element, $timeout) {...}],

And now it's working fine in Production (:

Let me know if this worth a PR.

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