fix dropbox api before main angular app