Created
July 7, 2012 06:23
-
-
Save mpdaugherty/3065072 to your computer and use it in GitHub Desktop.
Revisions
-
mpdaugherty created this gist
Jul 7, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ <div ng-repeat="m in milestone_choices" class="row-fluid"> <label><input type="radio" name="meaningless" value="(( $index ))" ng-model="milestone_data.index" /> <span ng-bind="m.title"></span></label> </div> This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ $scope.milestone_data = { index: 0 }; This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ <input name="milestone" type="hidden" 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 hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ <div ng-repeat="milestone in milestone_choices" class="row-fluid"> <input type="radio" ng-model="milestone" name="milestone" value="(( repo.name + '--milestone--' + milestone.number ))" ng-model="milestone"/> <span ng-bind="milestone.title"></span> </div>