how to display current date and time in angular

JavaScript
//reload the page for evry one minute...put the below code in ngOnInit function

setTimeout(
      function(){ 
      location.reload(); 
      }, 60000);
Source

Also in JavaScript: