app.controller('imprimirCtrl', function($scope, $mdDialog, Patrullas){
    $scope.patrullaClicked = false;

    Patrullas.all($rootScope.user.id).then(function(patrullas) {
        $scope.patrullas = patrullas;
    });
	$scope.cancel = function(){
        $mdDialog.cancel(); 
    };
});

@@ -40,16 +40,28 @@
 ($scope,
+ $rootScope,
  $mdDial

Update imprimirCtrls.js