Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-app="">
  <div ng-init="test = [{name:'John', status:'status'},
                         {name:'Mary', status:'no_status'},
                         {name:'Mike', status:'status'},
                         {name:'Adam', status:'status'},
                         {name:'Julie', status:'no_status'},
                         {name:'Juliette', status:'status'}]"></div>
  
  
  <input type="radio" ng-model="searchText.status" value="status">Есть в наличии<Br>
  <input type="radio" ng-model="searchText.status" value="no_status">Под заказ<Br>
  
<table >
  <tr><th>Name</th><th>status</th></tr>
  <tr ng-repeat="t in test | filter:searchText:true">
    <td>{{t.name}}</td>
    <td>{{t.status}}</td>
  </tr>
</table>
  
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers