I want to create a date object inside an html using interpolation
{{ new Date(newMatchedData.requestInfo.loadTimeStamp) | date:"MMMM" }}
but this isn't working, it is showing an error message saying that a new line or semi colon is needed
What to do now?
You don't need to create a new Date object to apply the date filter if your date is correct. Just do the following and you will se the month of your date
{{newMatchedData.requestInfo.loadTimeStamp | date: 'MMMM'}}