get current date in angular2 code example
Example: how to display current date and time in angular
//reload the page for evry one minute...put the below code in ngOnInit function
setTimeout(
function(){
location.reload();
}, 60000);