import { Component } from "@angular/core" ; import { RepoListPage } from "./repo-list" ; @ Component ( { selector : 'page-repo-forks' , templateUrl : 'repo-list.html' , } ) export class RepoForksPage extends RepoListPage { title = 'Forks' ; getRepos ( cursor ) { return this . apiSvc . getRepoForks ( this . navParams . get ( 'repoParam' ) , cursor ) ; } }