AngularJS Quiz
Check what you have learned in this AngularJS tutorial. Answer each question and read the explanation.
Before You Start
- Try to answer without looking at the lessons
- Review any lesson where you made a mistake
- Then open an old AngularJS project (or the examples here) and try to change something small
| Topic | Lesson |
|---|---|
| Basics | Introduction, Expressions |
| Directives | Directives |
| App structure | Controllers |
| Formatting | Filters |
| Input and data | Events and Forms, Services |
Quiz Questions
Exercise
When did official support for AngularJS end?
Exercise
Which directive creates two-way binding between an input and a variable?
Exercise
What is the difference between ng-show and ng-if?
Exercise
Which line creates a new AngularJS module called "app"?
Exercise
What object connects a controller's data to the HTML?
Exercise
Which filter would show 1500 as Rs 1,500.00?
Exercise
Why do we use ng-src instead of src with an expression?
Exercise
In modern AngularJS (1.6 and later), how do you read the result of $http.get?
Now that you can read AngularJS code, learn modern Angular. It is the natural next step when you migrate old apps.
