text: studentRoster.controller('StudentsCtrl', function StudentsCtrl($scope) {
    $scope.students = [];
    $scope.addStudents = function() {
      $scope.students.push({ name: $scope.studentName });
      $scope.studentName = null;
    };
    $scope.deleteStudent = function(student) {
      var index = $scope.students.indexOf(student);
      $scope.students.splice(index, 1);
    };
  });
  