Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>AngularJS Q bug</title>
  <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<!--   <script src="http://code.angularjs.org/1.0.8/angular.js"></script> --> 
    <script src="http://code.angularjs.org/1.2.15/angular.js"></script>
  </head>
<body ng-app="demo" class="container">
  <p>Demonstrating the fix of <a href="https://github.com/angular/angular.js/issues/2881">angular/angular.js #2881</a> since 1.2.0-rc.2
  <table class="table table-bordered table-striped">
    <thead>
      <tr>
        <th>Promise</th>
        <th>Triggered resolve()</th>
        <th>Fired resolve callback</th>
      </tr>
    </thead>
    <tr>
      <td>Task1</td>
      <td id="task1_triggered">Not yet</td>
      <td id="task1_fired">...</td>
    </tr>
  </table>
  <p>Number of digests: <span id="digest_count" class="label label-info" >0</span> <small class="text-muted">out of 3</small></p>
  <p>AngularJS version: <span id="angular_version"></span></p>
</body>
</html>
Output

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

Dismiss x
public
Bin info
bfangerpro
0viewers