I keep running into `Uncaught SyntaxError: Unexpected token` errors, but I can't see where I'm missing/have an extra `;` or `)` character. It gives me a line in the code (see below), but it *appears* to be a valid token placement.

JSLint gives me some clarification: `Expected ')' to match '(' from line 2 and instead saw ';'.`

Below is the JavaScript code I'm writing (inner sections removed for brevity):

```
'use strict';
(function() {
    AppCtrl = function($scope) {
      //JSON data
    };
    window.AppCtrl = AppCtrl;
  }; //Error shows up on this line
  // Declare app level module which depends on views and components
  angular.module('careApp', [
    //Dependencies
  ])
  .config(['$routeProvider', function($routeProvider) {
    //if given invalid partial, go back to appLaunch.html
    $routeProvider.otherwise({
      redirectTo: '/appLaunch'
    });
  }])
  .controller('AppCtrl', ['$scope', window.AppCtrl]);

  var patientID = ''; $scope.idStore = function() {
    //stuff
  }
  $scope.patientTime = function() {
    //more stuff

  }
})();

```