Last active
March 20, 2018 05:43
-
-
Save alexzuza/7c82419d89235a3eb0fb418f2de8136f to your computer and use it in GitHub Desktop.
DI embedded view parent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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