sorry, but I'm not understanding how it works.
views are loaded inside of application layout.
I need to be able to know what scripts to load based on what view I am actually rendering, but also because I don't want to spend a lot of time rewriting this extremely spaghetti like part of the application right now I need to just be able to say have these inline scripts loaded at the end of my page where they won't block.
So if I have a contentFor("endofpage"); at the end of my application layout, how do I make add stuff to that area?
Can it be done in this way? Or is there another 'proper way' that compoundjs does it? I mean I can hack my way around it in lots of different way, I was just wondering if there was a specific way I should do this?