02Chapter 2: Changing the host element with ElementRef and Renderer2Assume you know TypeScript classes, Angular templates, standalone components, and basic property and event binding. An attribute directive adds behavior to an existing element. It does not create a template of its own.1 min read
03Chapter 3: Reading a directive from the template with exportAsAssume you know TypeScript classes, Angular templates, standalone components, dependency injection, and basic property and event binding. This chapter focuses on directive instances that a template can read.1 min read