It's because you're setting the ng-model
of the select
to fox
. fox
is also what your options are set to, so your options array is being over written with the selected value (string) - which then gets split to letters to satisfy the ng-options
directive.
Short solution:
Change your ng-model
to selection
and your input to selection
as well.