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

Can we use angular filter with list specified in options attribute #51

Closed
kanikagupta13 opened this issue Jun 15, 2016 · 4 comments
Closed

Comments

@kanikagupta13
Copy link

kanikagupta13 commented Jun 15, 2016

Hi,

In angular, for lists there are various filters which can be applied to the list in html. One example of it is orderBy which sorts the list and as a result we don't have to apply this filter in the backend code.

Is there any way to include the angular filters or custom filters written in options of angular selector?

@indrimuska
Copy link
Owner

Nope, there's no way to apply angular's filters, you can just create a kind of workaround like this: http://plnkr.co/edit/FtPBzwexMN4EhW4QqxKp?p=preview

@kanikagupta13
Copy link
Author

hi @indrimuska . Thank you for the workaround. But it doesn't completely solve the issue with my application. Is there any future scope of handling these filters within options?

@indrimuska
Copy link
Owner

Yes, of course. I don't have the time to implement it now due to my busy schedule, but I will appreciate any PR or help from anyone! :)
Let's move this thread to #25.

@kanikagupta13
Copy link
Author

Ok. Thank you. :)

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