Prototype ng-flow for file uploads.
Fix file uploads.