Hi
I need to add a token to a provider I am using ng-flow to upload files,
This is my code
https://gist.github.com/jdc18/bada484340098d5b84b1

myToken should be the token I get that I need to add to the headers.  I 
manually added a token, burning the token in the code and it worked. Now I 
need a way to update/and pass that token to that provider.  
I tried Injecting a factory/service and it didnt work, and it shouldnt 
according to the manuals, apparently only constants and providers can be 
injected to a config box.

I thought about injecting the provider in a factory so I could update the 
provider in the factory.

I am running out of Ideas.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to