Tag: JavaScript

  • An ngPattern of things to come

    Let’s look at how we can use the ngPattern directive to check answers in our quiz question.

  • Don’t make me ngRepeat myself

    Today we’re going to look at another directive from AngularJS: ngRepeat.

  • AngularJS Quizzing: Random word extraction

    Today, we’re going to update our quiz so that it extracts a random word for the user to guess.

  • AngularJS Quizzing: Form features

    Today, we’ll look at how to use the form validation features of AngularJS to provide better feedback in our quiz.

  • AngularJS Quizzing: Let the Controller control logic

    So far we’ve created a simple quizzing engine using AngularJS somewhat separated the model, view and controller apart. Today, let’s take care of the little bit of controlling still being done inside the HTML.

  • Modules and Controllers

    Yesterday I shared the basics of how to create a quiz question using AngularJS. Now even though it works, the code is not very reusable. You would have to copy and paste the same code a bunch of times for each question. So let’s work on making this quiz question reusable.