how to call service method from ng-change of select in angularjs ...
You have at least two issues in your code: ng-change="getScoreData(Score) .... syntax to share a factory service among custom directives with controllers? ... data from select when rows are different by one column value.
>> Read moreangularjs - Get value when selected ng-option changes - Stack Overflow
as Artyom said you need to use ngChange and pass ngModel object as argument to ... But the changing the value in the dropdownlist doesn't trigger the .... You can pass the ng-model value through the ng-change function as a ..... By posting your answer, you agree to the privacy policy and terms of service.
>> Read more