Question: As i mentioned in the title, i want to export information: RGB video, position,rotation of Tango and set of data point cloud, its depth as well into a file to analyse after.
I can separately extract these information following this guide: 
<https://github.com/googlesamples/tango-examples-c>

but I don't know how to collect all infos by just one app (i.e combine all projects into one because there's conflict btw them).
Thanks a lot for any help.

Answer: 
You don't return from the myUser method, so there's nothing to wait for but `undefined`. As @JoelCDoyle commented:

> 
> Your resolve method must return a promise. $http method returns a promise. 
> 
> 
> 

```
resolve: {
        myUser:function($http){
            // return here!
            return $http.get("/irods-cloud-backend/searchByMetadata/getCurrentUser").then( function( result ) {
                console.log(result.data);
                return result.data;
            }

```
After feedback from @JoelCDoyle and @baao, I used a different approach.
I simply created a service that handled the GET request and used that in my resolve. 
More on this can be viewed [here](https://blog.brunoscopelliti.com/show-route-only-after-all-promises-are-resolved/)