I would like to create some custom/dynamic filters something like on this
website: http://code-dojo.herokuapp.com/resources?direction=asc&sort=name
With filters collapsing and mutliple selection. I figured out the normal
search query and ordering but cant get this checkbox thing to work...
I would like to generate those filters based on my json file: Generating 3
filters: Department, Place and target based on the existing values in my
json file.
[{
"id": "1",
"NoEDA": "439",
"Titre": "http://www.link.com",
"Titel": "http://www.link.com",
"Titre_FR": "titre",
"Titre_NL": "titel",
"Departement": "Department 1",
"Type": "Type B",
"Duration": "16",
"Target": "TargetC, TargetB1, TargetB2, TargetB4",
"Min": "15",
"Max": "18",
"Key": "true",
"Place": "Place 1, Place 2, Place A, Place C, Place 10, Place T"}, {
"id": "2",
"NoEDA": "910",
"Titre": "http://link.com",
"Titel": "http://link.com",
"Titre_FR": "Personne de confiance",
"Titre_NL": "Vertouwenspersoon",
"Departement": "Department 2",
"Type": "Type A",
"Duration": "32",
"Target": "TargetA1, TargetA2, TargetB",
"Min": "16",
"Max": "20",
"Key": "true",
"Place": "Place 1B"}];
Then making the filter menu's collapse...
After a lot of messing around nothing is working anymore, here is my
fiddle: http://jsfiddle.net/K0ZZM0/9sCnC/8/
Can someone please help me? :)
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.