title: zend framework 3 append script from controller
body: <p>Is it still possible to dynamically append script/files depending on the context?</p>
  
  <p>I saw <a href="https://stackoverflow.com/questions/40269556/how-to-add-js-or-css-files-to-the-end-of-the-queue-from-the-controller-action-in">here</a> it was possible in ZF1 but that doesn't work in ZF3. </p>
  
  <p>Any Ideas?</p>