import { Component } from '@angular/core' ; @ Component ( { moduleId : module . id , selector : 'hola-mundo-app' , templateUrl : 'hola-mundo.component.html' , styleUrls : [ 'hola-mundo.component.css' ] } ) export class HolaMundoAppComponent { title = 'hola-angular-2, el Hola Mundo en Angular2 para Escuela IT!' ; visible = false ; decirAdios ( ) { this . visible = false ; } }