function amSubtractFilter(value, amount, type) {

					if (isUndefinedOrNull(value)) {
						return '';
					}

					return moment(value).subtract(parseInt(amount, 10), type);
				}
@ngdoc filter
@name angularMoment.filter:amSubtract
@module angularMoment
@function