I am working on a angular one page application and I was wondering how to feed the app with data that are dynamically generated in the server side when the page first load.
Something like this:
var bootstrapValues = {
totalNumberOfPosts: 345,
postsPerPage: 10,
// etc. etc.
}
What is a good way to enter this configuration hash into the app?
Thanks