Summary

Angular 2 plays well with third-party code by enabling binding to native properties naturally. On the other hand, if we need to hold a reference to the DOM element, we can inject ElementRef in to our component.

Get Angular 2 Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.