all files / js/student/ student.controller.js

100% Statements 4/4
100% Branches 0/0
100% Functions 2/2
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15                     
/**
 * Created by cklimkowsky on 1/22/15.
 */
angular
    .module('coopEval')
    .controller('StudentController', StudentController);
 
function StudentController($scope, studentService) {
    // On the Overview page, get the student's co-op history
    studentService.getPlacementData()
        .success(function (result) {
            $scope.overviewData = result;
        });
}