momentjs in angular code example
Example: moment use in angular
npm install --save moment
import * as moment from 'moment';
...
let myMoment: moment.Moment = moment("someDate");
npm install --save moment
import * as moment from 'moment';
...
let myMoment: moment.Moment = moment("someDate");