Created
March 23, 2018 09:27
-
-
Save debugmodedotnet/5dae77daa4edff62d56be6c1faa4f89b to your computer and use it in GitHub Desktop.
This file contains 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, OnInit } from '@angular/core'; | |
@Component({ | |
selector: 'app-root', | |
template: `{{productName | uppercase}} = {{productPrice | currency}}` | |
}) | |
export class AppComponent { | |
productName = 'Cricket Bat'; | |
productPrice = 990; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment