'use strict';

angular.module('confRegistrationWebApp')
  .directive('radioQuestion', function () {
    return {
      templateUrl: 'views/radioQuestion.html',
      restrict: 'E',
      controller: function ($scope) {
        $scope.answer = {};
      }
    };
  });

'use strict';

angular.module('confRegistrationWebApp')
  .directive('radioQuestion', function () {
    return {
      templateUrl: 'views/radioQuestion.html',
      restrict: 'E',
      controller: function ($scope) {
        $scope.updateAnswer = function (answer) {
          console.log('block ' + $scope.block.id + ' answer changed to ' + answer);
        };
        $scope.answer = {};
      }
    };
  });

Add the previously removed updateAnswer function
Add the previously removed updateAnswer function
