Skip to content

Instantly share code, notes, and snippets.

View stocks29's full-sized avatar

Bob Stockdale stocks29

View GitHub Profile
@mpdaugherty
mpdaugherty / right_radios.html
Created July 7, 2012 06:23
Example of how to correctly use radio inputs with Angular JS's ng:Repeat directive
<div ng-repeat="m in milestone_choices" class="row-fluid">
<label><input type="radio" name="meaningless" value="(( $index ))" ng-model="milestone_data.index" />
&nbsp;<span ng-bind="m.title"></span></label>
</div>