create moment with moment object and image upload directive