Created
December 27, 2016 17:56
-
-
Save aramkoukia/811ddf2bd72841a9dfa147743d4f43ea to your computer and use it in GitHub Desktop.
angular built-in pipe sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
@Component({ | |
moduleId: module.id, | |
selector: 'hotel-reservation', | |
templateUrl: './hotel-reservation.template.html' | |
}) | |
export class HotelReservationComponent { | |
public fName: string = 'Joe'; | |
public lName: string = 'SCHMO'; | |
public reservationMade: string = '2016-06-22T07:18-08:00' | |
public reservationFor: string = '2025-11-14'; | |
public cost: number = 99.99; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment