file - Angularjs get single item -
My code works like this in ng-repeat:
& lt; Li ng-repeat = "Items in Uploader." & Gt; & Lt; Div ng-thumb = "{file: item._file, height: 100}" & gt; & Lt; / Div & gt; & Lt; / Li & gt;
But I only need to use it once, for example I want a thumb of another item in one line. I expected this to work like this:
& lt; Div ng-thumb = "{file: uploader.queue [1] ._file, height: 100}" & gt; & Lt; / Div & gt;
What am I doing?
Looking at the above, maybe it should be?
& lt; Div ng-thumb = "{file: uploader.queue [1] ._file, height: 100}" & gt; & Lt; / Div & gt;
Comments
Post a Comment