Wrote angular service, named it "MongoService", handles calls/requests to mongodb. Spent an hour wondering why it wasn't running one of my functions from controller. Just realized I am calling MangoService instead of Mongo. Lord help me.

  • 7
    // TODO: Refactor later...
    function MangoService(a) { return MongoService(a); }
  • 1
    #justMEANJsThings I can feel for you my fallen brother.
Add Comment