In this example we have an array of cities with thier name and code, we bind the cities array with the select list using the ng-options directive and as the user select any option from the select list the code of the city display below the select list as we bind the selected value with the span below it.