Is there a way to dynamically calculate the average of two selected values from different select boxes and display the result in a text field without using ng change? Here's an example:
HTML I:
<select ng-model="box1" ng-options="item for item in boxA"></select>
CONTROLLER:
$scope.boxA=[1,2,3,4,5];
HTML II:
<select ng-model="box2" ng-options="item for item in boxB"></select>
CONTROLLER:
$scope.boxA=[6,7,8,9,10];
Text Box:
<input type="text" ng-model="answer">