Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't seem to work when filters applied to ngRepeat #11

Open
renang opened this issue Jan 26, 2017 · 1 comment
Open

Doesn't seem to work when filters applied to ngRepeat #11

renang opened this issue Jan 26, 2017 · 1 comment

Comments

@renang
Copy link

renang commented Jan 26, 2017

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" }
	   ];
@JohnnyTheTank
Copy link
Owner

@renang could you serve a working jsfiddle or plnkr?

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

No branches or pull requests

2 participants