Created
November 14, 2017 14:46
-
-
Save rahulsahay19/30a73b0a8549dd201fd1b61addcc97cb to your computer and use it in GitHub Desktop.
This file contains 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
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'inline-component', | |
template: ` | |
<div class="container"> | |
<p>This component is the default component and was loaded by default.</p> | |
<strong> <a routerLink="/dynamic" routerLinkActive="active">Load a dynamic component</a> | |
<a routerLink="/dynamic/movies" routerLinkActive="active">Load Movies</a> | |
<a routerLink="/dynamic/sample" routerLinkActive="active">Sample Module</a></strong> | |
</div>` | |
}) | |
export default class InlineComponent {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment