I have a Chrome extension developed using Angular JS and High Charts. I need a functionality to be added to upload files to dropbox from this chrome based app.
I have written a code to authorize users to dropbox using core api, however it is failing with following error.

I have following questions :
1.) Can I connect to dropbox using authorize core api and upload files to dropbox from Chrome extension app developed in Angular JS?
2. What will be the redirect uri or the domain for the chrome extension app.
3. Do you have any sample solution catering to chrome extension app developed in angular js?
4. Do my all users have to register the chrome extension app to dropbox when first time they use the app?
Regards,
Bijal