Skip to content

Instantly share code, notes, and snippets.

@LayZeeDK
Created October 20, 2018 21:29
Show Gist options
  • Save LayZeeDK/a51b176719d76ca7fb2d82b53785223e to your computer and use it in GitHub Desktop.
Save LayZeeDK/a51b176719d76ca7fb2d82b53785223e to your computer and use it in GitHub Desktop.
Dashboard: Mixed component model after extracting a container component
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