Challenge: Watch for Data Changes: $watch

Challenge yourself by writing code to constantly log the current time to the console.

We'll cover the following

Challenge yourself

The code below is an implementation of a console clock. It uses $watch to constantly log the current time to the console. But the code isn’t complete. Write the remaining code for it to work.

Get hands-on with 1400+ tech skills courses.