Angular JS - get selected text as ng model (without ng-options)
问题 In my code behind, I fill up a DropDownList as follows (using VB) ddlCountries.DataSource = dt ' dt is DataTable with columns "CountryCode" and "CountryName" ddlCountries.DataTextField = "CountryName" ddlCountries.DataValueField = "CountryCode" ddlCountries.DataBind() ddlCountries.Attributes.Add("ng-model", "CountryName") Then client side, I have a select tag, which is filled with options from server side as below: <select ng-model="CountryName"> <option value="IN">India</option> <option