Correctly assign object rather than array item in options controller