Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body ng-controller="MyCtrl">
  <input ng-model="results.year">
  <input ng-model="results.subjects.title | filter:{grade:'C'}">
</body>
</html>
 
    function MyCtrl($scope) {
      $scope.results = {
        year:2013,
        subjects:[
          {title:'English',grade:'A'},
          {title:'Maths',grade:'A'},
          {title:'Science',grade:'B'},
          {title:'Geography',grade:'C'}
        ]
      };
    }
Output

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

Dismiss x
public
Bin info
bhofmannpro
0viewers