       $scope.result = false
     ,(err) ->
       console.log(err)
-    )  
+    )
+    
       
     $scope.checkExam = ->
       score = 0

            q.view = "checkbox"
        q.choice = shuffle(q.a)
        questions.push(q)
      $scope.questionset = questions
      $scope.message = ""
      $scope.exam = shuffle(questions)

    )
    
    url = "https://j5odg2vd05.execute-api.ap-northeast-1.amazonaws.com/prod/butaGetJSON?exam=#{$routeParams.examName}&pass=#{$scope.$storage.pass}"
    questions = []
    examQuestions = {}
    $http({method: "GET", url: url,cache: true}).then((data) ->
      examQuestions = data.data
      for q in examQuestions.questions
        $scope.check[q.id] = {}
        $scope.check[q.id]["q"] = q.q
        switch q.answers
