I need to understand how come the assignment of vm.Info var does not work properly. Sorry for the bad question.
 vm.getUser = function(email) {
             vm.Info = ''  
                authentication
                    .avvocatoByEmail(email)
                    .error(function(err){
                        return null;
                    }).success(function(data){
                        vm.data = { user : data };
                        vm.Info = $crypto.encrypt(vm.data.user[0].id + "." + vm.data.user[0].email, 'myKey');
                        console.log("Here ok: " + vm.Info);
                    });
                console.log("Here blank: " + vm.Info);
            }
 
    