Using angular animations

Improved moment directive