I am trying to use $resource and have set up a factory to retrieve a rails4/grape based api. I am able to retrieve the object (labs) in the console. However, I get nothing to display.
I was following the tutorials at learn ionic and in this blog. I am listing the app.js, controllers.js and the services.js files in this gist.
I have been working on this for days without any success. I would be very happy if someone showed the way out.
The code concerning retrieving the labs and a single item(lab) is what I want. The rest of code is additional and not relevant to the problem. I have zero experience with angular so pardon me if I stated that was obviously misplaced or wrong.