Sign in
Log inSign up

AngularJS : How do I store the $http.get JSON response data in the factory itself?

Rajanshu Ujjwal's photo
Rajanshu Ujjwal
·Jun 16, 2016

I want to store an array of objects [key:value] in the factory and then send to render on the View (html) part via the controller. However, I do not want to store the values in the controller itself.