Angular connection with Dropbox API; DropboxChooser Directive