Created
April 17, 2014 06:20
-
-
Save BrockFredin/10957287 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular | |
.module('app', []) | |
.controller('SprintCtrl', function ($scope) { | |
var sprints = [63, 64, 65]; | |
$scope.sprints = sprints; | |
}) | |
.controller('DefectCtrl', function ($scope) { | |
var defect = [{ | |
sprint: "65", | |
number: "10", | |
desc: "some desc" | |
}]; | |
$scope.defect = defects; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<title>D3 Demo</title> | |
</head> | |
<body ng-app="app"> | |
<div ng-controller="SprintCtrl"> | |
<h1>Sprint</h1> | |
<pre>{{sprints | json}}</pre> | |
</div> | |
<div ng-controller="DefectCtrl"> | |
<div ng-controller="DefectCtrl"> | |
<div ng-repeat="defect in defects"> | |
<p>{{defect.number}}</p> | |
</div> | |
<script src = "bower_components/angular/angular.min.js"></script> | |
<script src = "app.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment