Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import { Component } from '@angular/core';
import { TeamService } from './team.service';
import { Team } from './team';
selector: 'app-root',
template: `
<li *ngFor="let team of teams">{{}}</li>
export class AppComponent {
teams: Team[];
constructor(private teamService: TeamService) {
teams => this.teams = teams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.