Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Using ui-uploader in ng-repeated directives #28

Open
RaviTejaKaruturi opened this issue Feb 10, 2017 · 0 comments
Open

Using ui-uploader in ng-repeated directives #28

RaviTejaKaruturi opened this issue Feb 10, 2017 · 0 comments
Labels

Comments

@RaviTejaKaruturi
Copy link

Hi,

We have a isolated-scope directive, which is dynamically created using ng-repeat.
In this directive we have upload functionality.
If the directive is repeated for 10 times, we will have 10 upload buttons.
Problem is since, since, ui-uploader is singleton service, when we upload a files using one of the upload button, the same file is being shown in all the 10 directive templates.
Is there a way for each of these directives can independently hold files?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants