Skip to content

Instantly share code, notes, and snippets.

@gabhi
Last active August 29, 2015 13:57
Show Gist options
  • Save gabhi/9773396 to your computer and use it in GitHub Desktop.
Save gabhi/9773396 to your computer and use it in GitHub Desktop.
dropdown (select) using angular js
<select ng-model="selectedOption" ng-options="todo._id as todo.name for todo in todos"></select><br>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment