-
-
Save sciotta/8803783 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
<div ng-repeat="m in milestone_choices" class="row-fluid"> | |
<label><input type="radio" name="meaningless" ng-value="$index" ng-model="milestone_data.index" /> | |
<span ng-bind="m.title"></span></label> | |
</div> |
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
$scope.milestone_data = { index: 0 }; |
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
<input name="milestone" type="hidden" ng-value="repo.name + '--milestone--' + milestone.number"/> | |
<select ng-show="milestone_choices.length" | |
ng-model="milestone" ng-options="m.title for m in milestone_choices"> | |
</select> |
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
<div ng-repeat="milestone in milestone_choices" class="row-fluid"> | |
<input type="radio" ng-model="milestone" name="milestone" ng-value="repo.name + '--milestone--' + milestone.number" ng-model="milestone"/> | |
<span ng-bind="milestone.title"></span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment