Add support for moment 2.2.x, AngularJS 1.2