Adds options json value to ui-switch attribute
merging with jonathanpgclick's repo
Added two-way data-binding functionality