wrap moment library in an angular service