Today we’re going to look at another directive from AngularJS: ngRepeat.
So far, we’ve had a quiz with a static question and answer: a verse and then a blank to fill in the missing word. Let’s make the quiz a little less static by dynamically extracting a random word from the verse.
So far we’ve been able to make a quiz question using several Angular directive: ng-app, ng-controller, and ng-if to give feedback for the correct answer. But I’d like to give more feedback than that, so today we’re going to use the form element to get some validation features that come with Angular.