| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1× 1× | /**
* Created by cklimkowsky on 2/24/15.
*/
angular
.module('coopEval')
.controller('AddCommentModalController', AddCommentModalController);
function AddCommentModalController($scope, $modalInstance, question) {
$scope.question = question;
$scope.save = function () {
$modalInstance.close($scope.question);
};
$scope.delete = function () {
$scope.question.comment = null;
$modalInstance.close($scope.question);
};
} |