Created
October 20, 2018 21:29
-
-
Save LayZeeDK/a51b176719d76ca7fb2d82b53785223e to your computer and use it in GitHub Desktop.
Dashboard: Mixed component model after extracting a container component
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
import { Component } from '@angular/core'; | |
import { Hero } from '../hero'; | |
@Component({ | |
selector: 'app-dashboard', | |
templateUrl: './dashboard.component.html', | |
styleUrls: [ './dashboard.component.css' ] | |
}) | |
export class DashboardComponent { | |
heroes: Hero[] = []; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment