The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Build a Directive that Tracks User Events in a Service in Angular 2

Build a Directive that Tracks User Events in a Service in Angular 2

3:11
A `@Directive` is used to add behavior to elements and components in your application. This makes `@Directive`s ideal for behaviors such as "tracking" which don't belong in a Component, but do belong as a behavior in your application.
Watch this lesson now
Avatar
egghead.io

A @Directive is used to add behavior to elements and components in your application. This makes @Directives ideal for behaviors such as "tracking" which don't belong in a Component, but do belong as a behavior in your application.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?