javascript - Change select input the angular way -
i have select input ng-change attribute. in controller use hotkeys module , bind shortcut keys function selects 1 of options of element. reason i'm not setting underlying model element has ng-change wish invoke. tried setting selectedindex, doesn't cause change (not result of underlying model) except element. tried wrap in $apply , got error. tried use $timeout no delay parameter, , didn't either.
Comments
Post a Comment