Best way to get data from database into app.js in angularjs app RRS feed

  • Question

  • User-257409430 posted


    the controller in an angular js app uses json data in the app.js file. 

    In an MVC application, how would you normally get the json data into the app file in JSON format in the first place. Normally you would pass the data from the controller to a view. But what about when it needs to be in the appjs file?

    Thanks a lot.

    Monday, April 27, 2015 4:00 AM

All replies