⬅︎ Back to Advanced live-search with AngularJS
If I want for example want to search for both Cat and Child like for e.g. Data: IT>Software,Hardware Kitchen > Knife. Forkand if you search 'knife' for example, you will get: <ul> <li><b>Kitchen</b></li> <li>Knife</li></ul>$scope.cat = [ { name: "IT", tags: [ [ "Software", "Hardware", ] }, { name: "Kitchen", tags: [ "Knife", "Fork", ] }];Anyone know have a idea?
Comment
If I want for example want to search for both Cat and Child like for e.g.
Data:
IT>Software,Hardware
Kitchen > Knife. Fork
and if you search 'knife' for example, you will get:
<ul>
<li><b>Kitchen</b></li>
<li>Knife</li>
</ul>
$scope.cat = [
{
name: "IT",
tags: [ [
"Software",
"Hardware",
]
},
{
name: "Kitchen",
tags: [
"Knife",
"Fork",
]
}
];
Anyone know have a idea?