ChatFormComponent.html:6 ERROR TypeError: this.getTimeStamp is not a function
at ChatService.sendMessage (chat.service.ts:44)
at ChatFormComponent.send (chat-form.component.ts:18)
at Object.eval [as handleEvent] (ChatFormComponent.html:7)
at handleEvent (core.js:13530)
at callWithDebugContext (core.js:15039)
at Object.debugHandleEvent [as handleEvent] (core.js:14626)
at dispatchEvent (core.js:9945)
at eval (core.js:10570)
at HTMLButtonElement.eval (platform-browser.js:2628)
at ZoneDelegate.invokeTask (zone.js:421)
ChatFormComponent.html:6 ERROR TypeError: this.getTimeStamp is not a function at ChatService.sendMessage (chat.service.ts:44) at ChatFormComponent.send (chat-form.component.ts:18) at Object.eval [as handleEvent] (ChatFormComponent.html:7) at handleEvent (core.js:13530) at callWithDebugContext (core.js:15039) at Object.debugHandleEvent [as handleEvent] (core.js:14626) at dispatchEvent (core.js:9945) at eval (core.js:10570) at HTMLButtonElement.eval (platform-browser.js:2628) at ZoneDelegate.invokeTask (zone.js:421)
Getting this error on my console pls help.