R
R
rakro2015-10-16 12:34:59
Angular
rakro, 2015-10-16 12:34:59

Filters for ng-repeat in url?

There is a table with ng-repeat and several filters for it. The task is to be able to copy the url and send it to another user, as if all filters were specified in the GET parameters and processed on the backend. I have a rough understanding of how to parse urls and set default filter values. But here's how to make sure that when changing filters, these parameters are written to the url? There is an idea to hang a handler on each click change filter controls and create a function that will change the url. The question is: how to correctly change the url and write the parameters I need there, and are there any ready-made modules that perform a similar task?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2015-10-16
@streetflush

https://github.com/angular-ui/ui-router/issues/64 I think that's what you wanted.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question