http://angular-ui.github.io/bootstrap/
I want to use the bootstrap's typeahead, and search two different key-pairs in an object. How do I iterate over an array objects?
Also could someone explain what for is this?
typeahead="state for state in states | filter:$viewValue"
The for
clause is throwing me off and it seems really unclear because state for state
shares the same name.