Skip to main content
added 2 characters in body
Source Link
webcoder
  • 311
  • 1
  • 8

you need to add ng-model and ng-change event like below.

 

<md-radio-group ng-model="selectedVal" ng-change="showSelected()">

and in your controller you can defined function as following. $scope.showSelected= function(){ console.log($scope.selectedVal); }

you need to add ng-model and ng-change event like below.

 

and in your controller you can defined function as following. $scope.showSelected= function(){ console.log($scope.selectedVal); }

you need to add ng-model and ng-change event like below.

<md-radio-group ng-model="selectedVal" ng-change="showSelected()">

and in your controller you can defined function as following. $scope.showSelected= function(){ console.log($scope.selectedVal); }

Source Link
webcoder
  • 311
  • 1
  • 8

you need to add ng-model and ng-change event like below.

and in your controller you can defined function as following. $scope.showSelected= function(){ console.log($scope.selectedVal); }