AnswerSort.Controller.js 320 Bytes
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13
'use strict'

angular.module('EXAM').controller('AnswerSort', ['$scope', '$http', function($scope, $http){
  $scope.question = new Question()

  $scope.addSentence = function(obj){
    $scope.question.addSentence(obj)
  }

  $scope.deleteArray = function(obj, index){
    $scope.question.deleteArray(obj, index)
  }
}])