What are the standard components in lightning components?
Components are reusable applications components. There are 2 types of components in salesforce.
1).Standard components can be used in salesforce one applications as well as in lightning application also.
2).Force.com components can only be used in salesforce one application.
Example of standard component is
aura:iteration iterates over a collection of items and renders the body of the tag for each item.
Data changes in the collection are rendered automatically on the page. aura:iteration supports iterations containing components that have server-side dependencies or that can be created exclusively on the client-side.
Here is my component
Here is my component controller code
Defined getNumberList function in controller, and set the values from this controller. If you observer line number 8 I prepared listOfNums and passed to component variable “listOfNumbers”.
Finally the output is :