So I am a newbie on AngularJS and I've been trying to get some sort of answer for this but no luck, hence this post.
I have an array of objects (JSON), and in a single object, there is a field called categories, this field is actually an array itself and can hold multiple values.
The filter that I'm looking for is, there is a "select" and user will pick a "select" value and all the records having that value in their categories array should appear to the user and rest can be hidden. This "select" has multiple selection but I'm considering to keep it to single selection. But since I want to deliver the best product, I would really appreciate if you can help me out for both multiple and single select.
Here is the sample data:
var jobs = [{"ID":"10","Title":"SQA Engineer","Employer":"XXXX","Address":"XXX Floor","Email":"XXXX","ContactNumber":"","Description":"1 year experience.","Qualification":"XXXX","LastApplyDate":"2016-08-26","Type":"1","CreatedDT":"2016-08-06 13:06:36","CreatedBy":null,"Categories":["25","28"]},{"ID":"8","Title":"Maid","Employer":"XXX","Address":"XXX","Email":"XXXX","ContactNumber":"XXXX","Description":"","Qualification":"NONE","LastApplyDate":"2016-08-26","Type":"1","CreatedDT":"2016-08-06 12:27:17","CreatedBy":null,"Categories":["28"]}];