Took in backend api from mongo Bear tutorial. Connecting via ngResource