Skip to content

Instantly share code, notes, and snippets.

Created Jan 15, 2017
What would you like to do?
import {Component} from '@angular/core';
selector: 'pipe',
template: `
<h1>Les pipes</h1>
<hr />
<p>{{maDate | date:'d MMM y'}}</p>
export class PipeComponent {
maDate:Date=new Date('2016-09-25');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment