dv336699 / ng-isotope

AngularJS directives for Isotope by Metafizzy
GNU General Public License v3.0
15 stars 17 forks source link

filter button does not work with ng-repeat #3

Open dishui opened 10 years ago

dishui commented 10 years ago

I am using your library in one of my project, let me first thank you for creating this library.

I am running into an issue though: when trying to create filter buttons with ng-repeat, it does not work.

Then, I decided to try using your demo.html and here is the code:

Filter using ng-repeats

Wonder if you have any insight about this?

dv336699 commented 10 years ago

hm, I haven't tested that yet, if you can create a plnkr I would be glad to take a look. Thanks

JohnnyEnc commented 7 years ago

Im facing the same issue, does this have a solution yet?

this is my code:

    <div class="btn-group" isotope-filter isotope-filter-event="filter-elements" >
        <button isotope-filter-by=".{{category.category}}"  ng-repeat="category in slides"  class="btn btn-default">{{category.category}}</button> 
    </div>