import { Component , OnInit } from '@angular/core' ; @ Component ( { selector : 'app-root' , templateUrl : './app.component.html' , } ) export class AppComponent implements OnInit { films : any [ ] ; selectedFilm : any ; constructor ( ) { } ngOnInit ( ) { } }