import { ChangeDetectorRef , Component , OnInit } from '@angular/core' ; import { LookupModel } from '../models/lookup.model' ; @ Component ( { selector : 'app-lookup' , templateUrl : './lookup.component.html' , styleUrls : [ './lookup.component.css' ] } ) export class LookupComponent implements OnInit { lookupWord : string ; definitions : LookupModel [ ] ; constructor ( public changeDetectorRef ) { } ngOnInit ( ) { } }