Skip to content

Instantly share code, notes, and snippets.

@t8g
Created June 26, 2017 13:41
Show Gist options
  • Save t8g/87889380c7d5e72cb568e782ed376d71 to your computer and use it in GitHub Desktop.
Save t8g/87889380c7d5e72cb568e782ed376d71 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
@Component({
selector: 'bc-reverse',
template: `
<input [(ngModel)]="value">
<strong>{{ value | reverse }}</strong>
`
})
export class ReverseComponent {
value = '';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment