prepare files for single page app with ng