Created
May 19, 2014 17:20
-
-
Save bendrucker/cf99aabfdeb2d972d91e to your computer and use it in GitHub Desktop.
answer directive
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="answer in question.answers"> | |
<input type="text" ng-model="answer.text" /> | |
<input type="checkbox" ng-model="answer.correct" /> | |
</div> | |
<!-- --> | |
<answer ng-repeat="answer in answers" answer-model="answer"></answer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment