In this example we can create list of options with ng-options
directive.Selected textbox value will bind to myName variable with ng-model
directive.If we click on button it will call the executeFunction(myName)
with selected value as parameter which display alert of selected value of textbox.