Skip to content

Instantly share code, notes, and snippets.

@alexzuza
Last active March 20, 2018 05:43
Show Gist options
  • Save alexzuza/7c82419d89235a3eb0fb418f2de8136f to your computer and use it in GitHub Desktop.
Save alexzuza/7c82419d89235a3eb0fb418f2de8136f to your computer and use it in GitHub Desktop.
DI embedded view parent
@Component({
selector: 'my-list',
template: `
<div class="container">
<grid-list *ngIf="1">
<grid-tile>1</grid-tile>
<grid-tile>2</grid-tile>
<grid-tile>3</grid-tile>
</grid-list>
</div>
`
})
export class MyListComponent {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment