How can I get current date and time in angularjs
angularjs
I have tried the following:
{{Date.Now}}
But it d
In your controller
scope.v.Dt = Date.now();
The DOM syntax is
{{v.Dt | date:'medium'}}
For an example -
Output - Oct 28, 2010 8:40:23 PM
Oct 28, 2010 8:40:23 PM