Hi all,
I'm working on reducing the amount of calls to the DB in the applications at our company. One issue that I'm seeing is that the same data is being used by the MVC Controller and the AngularJS controller and an individual call is being made to the DB for each.
I'd like to find a clean way to pass a model into the AngularJS controller when it loads. What suggestions would you have as far as setting this up?
Thanks!
I'm working on reducing the amount of calls to the DB in the applications at our company. One issue that I'm seeing is that the same data is being used by the MVC Controller and the AngularJS controller and an individual call is being made to the DB for each.
I'd like to find a clean way to pass a model into the AngularJS controller when it loads. What suggestions would you have as far as setting this up?
Thanks!