This step provides a sample element with a template. Go ahead and try importing your directive, and then use it in a template.

Next, create a Date object at the module-level, above the TimeAgoExample class definition that we'll use to pass to the directive, just to see it working:

And then call the directive from the template:

You should see the directive output the Date as a string. The next step will format it as elapsed time instead.