Didn't know that existed. I always used new Date().
Good tip :O
You're gonna get everyone to start coding with Angular classes?
This is pretty cool.
Sorry for posting messed up code, fixed now.
Tested in chrome, ff, safari and ie 8,9,10. Everything seems fine now