Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  <div ng-controller="myController">
    <input type="text" ng-model="search"/>
    <select>
      <option ng-repeat="item in dropdown" value="{{item}}">{{item}}</option>
    </select>
    
    <br/>
    <ul>
      <li ng-repeat="movie in movies">
        Name: <strong>{{movie.name}}</strong> |
        director: <strong>{{movie.director}}</strong> |
         actor: <strong>{{movie.actor}}</strong>
   
      </li>
    </ul>
  </div>
</body>
</html>
 
var myApp = angular.module('myApp',[]);
myApp.controller('myController',function myController($scope){
  
  $scope.dropdown = ['name','director','actor'];
  
  $scope.movies = [
    
    {name:'test',director:'test di',actor:'test ac'},
     {name:'test2',director:'test2 di',actor:'test2 ac'},
     {name:'test3',director:'test3 di',actor:'test3 ac'},
     {name:'test4',director:'test4 di',actor:'test4 ac'}
  ];
});
Output

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

Dismiss x
public
Bin info
MBehtemampro
0viewers