Reputation: 425
I have an HTML page, with a <select>
which has a few options in it. Currently, these options are hardcoded into the HTML.
Is there a way to get a list of options in Web.config, get them in my AngularJS controller, and populate the <select>
?
Upvotes: 1
Views: 282
Reputation: 1422
You can do what you want following those steps :
select
optionsGET
this ViewModel : howAll of that is basic and it's easy to find more information to achieve what you need.
Hope it helps.
Upvotes: 3