Skip to content

Conversation

@N1ck
Copy link

@N1ck N1ck commented Apr 26, 2018

Problem

If you are using a tool to bundle such as https://github.com/ck86/main-bower-files for bundling packages, angular-vs-repeat will be bundled before angular. This obviously causes errors, and the directive is unusable.

Solution

Setting angular as a dependency resolves the issue.

I have set the dependency as "angular": ">= 1.2.0" since 1.2.16 is used for developing/testing the directive: https://github.com/kamilkp/angular-vs-repeat/blob/master/lib/angular.js

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant