From the course: Angular: Testing and Debugging
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Filter the array of users by locationId - Angular Tutorial
From the course: Angular: Testing and Debugging
Challenge: Filter the array of users by locationId
“
(upbeat music) - [Instructor] Here's a challenge for you, make a new pipe that filters the array of users based on one or more location IDs and returns a new array with only those users. Keep in mind that for this challenge you're modifying the array of users as a whole and not the individual user objects. You can take a look at the users.TS file for a better idea of how the user's array is organized. Good luck.
Contents
-
-
-
-
-
(Locked)
Adding a local storage service4m 38s
-
(Locked)
Fixing dependency injection errors3m 38s
-
(Locked)
Getting and setting data in local storage3m 18s
-
(Locked)
Adding a custom Angular pipe4m 51s
-
Using regular expressions to find content4m 13s
-
(Locked)
Using a pipe to change HTML content4m 17s
-
(Locked)
Common pipe errors1m 53s
-
(Locked)
Understanding Angular decorators2m 6s
-
(Locked)
Challenge: Filter the array of users by locationId30s
-
(Locked)
Solution: Filter the array of users by locationId1m 23s
-
(Locked)
-
-
-
-
-