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

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -