You can change behaviors of element and @Component
properties based on services using @HostBinding
in @Directives
. This allows you to build @Directive
s which rely on services to change behavior without the @Component
ever needing to know that the Service even exists.
is the Hostlistener events remove OnDestroy ?
In the 5th lesson, the video stops in the middle while playing and shows this error. undefined. Exception: ERROR_LOADING