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.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct