angular.module( 'moviematch.directive', [] )

.directive ('dstMainNav',  function( ) {
    return {
      restrict: 'E',
      controller: function( $scope, Session, Auth ) {
        $scope.expand = false;
        $scope.lastEventType;
        Session.getSession();
        Session.getSession()
        .then( function( session ) {
          $scope.sessionName = session.sessionName;
        })
        $scope.username = Auth.getUserName();
        $scope.toggleNavList = function(ev){
          console.log("toggle called");
          if (!(ev.type === 'mouseleave' && $scope.lastEventType === 'click')) {
            $scope.expand = !$scope.expand;
          }
          $scope.lastEventType = ev.type;
        };
      },
      templateUrl: 'app/directives/dst_main_nav.html'
  }
});

@@ -233,38 +233,8 @@
 pe;%0A
-        Session.getSession();%0A
     
@@ -357,16 +357,17 @@
       %7D)
+;
 %0A       

Add missing semicolon