angular.module('MovnThereUI').controller('LogoutCtrl', function($scope, $location, AuthFactory) {
  'use strict';

  $scope.logout = function(credentials) {
    AuthFactory.login(credentials).success(function(response) {
      $location.path('/');
    });
  };
});

angular.module('MovnThereUI')
  .controller('LogoutCtrl', [
    '$scope',
    '$location',
    'AuthFactory',
    function($scope, $location, AuthFactory) {
      'use strict';

      $scope.logout = function(credentials) {
        AuthFactory.login(credentials).success(function(response) {
          $location.path('/');
        });
      };
    }
  ]
);

Modify logout controller for inline annotation needed for grunt build minification.