angular moment fourmla code example Example: angular moment npm install --save moment ... import * as moment from 'moment';