ui-uploader icon indicating copy to clipboard operation
ui-uploader copied to clipboard

Using ui-uploader in ng-repeated directives

Open RaviTejaKaruturi opened this issue 8 years ago • 0 comments

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

RaviTejaKaruturi avatar Feb 10 '17 07:02 RaviTejaKaruturi