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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -