An angular directive for uploading files to a server.