I need to display three elements per row on a page, from data that I get as array, so would like ability to reference a specific element inside array.
I.e. if my array is bookList, I'd like to be able to get at 3rd element of bookList so I can pass it to a directive, for example. Don't see an easy way to do this.
[edit]
{{bookList[2]}}
Elements of the list are accessible via an integer property thus:
{{bookList.0}} {{bookList.1}} {{bookList.2}} ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With