Open renang opened 7 years ago
Here's an example of what I'm trying to do:
<input type="text" ng-model="vm.filterTags" /> <div class="bricklayer" ng-cloak> <div bricklayer-append ng-repeat="image in vm.images | filter:{tags:vm.filterTags}" ng-cloak> <img src="....." style="max-width:100%;" /> </div> </div>
vm.images = [ { filename: "1.jpg", tags: "nature" }, { filename: "2.jpg", tags: "ball" }, { filename: "3.jpg", tags: "car" } ];
@renang could you serve a working jsfiddle or plnkr?
Here's an example of what I'm trying to do: