Button bar in ng-repeat

I used button-bar for the Answers of Quiz in my application. i retrieve the quiz questions from my rest service.
when click on the true/false button in button-bar the button will be active .later click on another question answer last one is deactivate. & how to get the all the values from the clicked answers

//html




{{quiz.studyQuiz.question}}
TRUE FALSE
//controller.js $scope.active = ''; $scope.setActive = function(type) { $scope.active = type; }; $scope.isActive = function(type) { return type === $scope.active; };