You don’t know Angular —A Guide to Angular Projection

Aayush Arora
Jul 19, 2018 · 4 min read

Learning Objectives

Motivation

Projecting content using ng-content

Component Rendering using ng-content

Projecting data into selected slots

<app-auth>
<h2>Signup here</h2>
<button>Signup</button>
</app-auth>
Signup and Login with slots

Summary


Coding Blocks

Daily Tidbits on Android, Javascript and Machine Learning

Aayush Arora

Written by

Google Developer Expert for Web Technologies https://github.com/aayusharora

Coding Blocks

Daily Tidbits on Android, Javascript and Machine Learning