Skip to content

Instantly share code, notes, and snippets.

Created March 23, 2018 09:27
What would you like to do?
import { Component, OnInit } from '@angular/core';
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