Sharing Top Content from the Angular-sphere.

Loading server config into AngularJS on app start

  • The solution then, is to create a Provider server-side , which is pre-cooked with the configuration settings we want.
  • The Angular startup process uses Providers to set up common settings across services.
  • There’s no duplication of settings; if the server also needs the same setting, it can use it too.

Read the full article, click here.


@matttester: “Blog: Loading server config into #AngularJS on app start. Example using #asp.net”


How to share server configuration properties with your Angular app with an example with ASP.NET back-end.


Loading server config into AngularJS on app start

Comments are closed, but trackbacks and pingbacks are open.