import { Component } from '@angular/core' ; import { DeveloperCollection } from './developer_collection' ; @ Component ( { selector : 'home' , templateUrl : './home.html' } ) export class Home { constructor ( private developers ) { } getDevelopers ( ) { return this . developers . getAll ( ) ; } }