filtering based on multpiple value example 1
HTML
<div ng-app="myApp">
<div ng-controller="myCntrl">
<label>Search on Label</label><br>
<input ng-model="query" type="text" placeholder="Search for name" />
<br><br>
<div ng-repeat="dealer in dealers">
{{dealer.Store_Name}}<br>
{{dealer.S_Email_id}}<br>
{{dealer.Day}}<br>
<br><br><br>
<input type="button" value="order"/>order
</div>
</div>
</div>
JavaScript
angular.module('myApp', [])
.controller("myCntrl", function ($scope,$filter) {
$scope.dealers = [{
S_Email_id: "[email protected]",
S_Store: "samsung",
status:"",
Store_Name: "Adtiya Samsung Store",
S_Services: "Regular Service,Software Faults,Hardware Faults",
Store_long_description: "Undertake all kind of samsung mobiles",
Store_short_description: "Undertake all kind of samsung mobiles",
Day: {
"monday": "09:10AM - 06:30PM",
"tuesday": "09:10AM - 07:30PM",
"wednesday": "09:10AM - 06:30PM",
"thursday": "09:10AM - 06:30PM",
"friday": "09:10AM - 06:30PM",
"saturday": "10:15AM - 04:15PM",
"sunday":"10:15AM - 04:15PM"
},
}, {
S_Email_id: "[email protected]",
S_Store: "nokia",
status:"",
Store_Name: "sri shakthi mobile service",
S_Services: "Settings Faults,Regular Service,Hardware Faults",
Store_long_description: "Undertake all kind of nokia mobiles",
Store_short_description: "Undertake all kind of nokia mobiles",
Day: {
"monday": "09:00AM - 06:00PM",
"tuesday": "09:10AM - 12:00PM",
"wednesday": "09:00AM - 06:00PM",
"thursday": "09:00AM - 06:00PM",
"friday": "09:00AM - 06:00PM",
"saturday": "09:00AM - 06:00PM",
"sunday":"Leave"
},
}, {
S_Email_id: "[email protected]",
S_Store: "nokia,samsung",
status:"",
Store_Name: "sun mobile service center",
S_Services: "Regular Service,overall maintenance,Mobile Shield Installation",
Store_long_description: "Undertake all kind of nokia,samsung mobiles",
Store_short_description: "Undertake all kind of nokia,samsung mobiles",
Day: {
"monday": "08:30AM - 07:30PM",
"tuesday": "08:30AM - 07:30PM",
"wednesday": "08:30AM - 07:30PM",
"thursday": "08:30AM - 07:30PM",
"friday": "08:30AM -...