working with mongo and possibly angular