Created
August 18, 2014 21:15
-
-
Save steinbring/121f10acb4eb8a6ca30f to your computer and use it in GitHub Desktop.
How to populate a select box with the contents of the array $storage.notes. You can reference it in other form elements as {{savedNote}}.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select ng-model="savedNote" ng-options="n.title for n in $storage.notes" id="selectedNote"> | |
<option value="">-- Saved Notes --</option> | |
</select> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment