Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <div ng-app="myApp">
  <div ng-controller="MyCtrl as vm">
   <ul id="question-list" >
     <li style="cursor:pointer" ng-repeat = "questionAns in vm.questionList">
      <h1 ng-click="questionAns.showAnswer = !questionAns.showAnswer">             <a ng-bind="questionAns.question"></a></h1>
        <h3 ng-show="questionAns.showAnswer" ng-bind="questionAns.answer"></h3>
    </li>
  </ul>
  </div>
</div>
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers