Update file storage for SPA, create AngularJS services and controllers