Chapter 3
Basic Ionic 2 Components
Section 1
Creating a List
We need to present the list of search results in a visually attractive list. Ionic makes this easy with the ion-list and ion-icon components, and Angular allows us to repeat the items using ngFor as well as bind the values of attributes to the DOM elements' properties. - Create the list item to be repeated using ion-list and ion-icon - Repeat the same step for all items in the array of data using ngFor - Bind data to attributes, such as the source of an image or the content of a title