It is used to display the model by using the matched attribute in the collection.
attribute − It represents the property of a defined model.
Let us carry out the following steps to see how the above code works −
Save the above code in the where.htm file.
Open this HTML file in a browser.