How to redirect to an angular view from server-side routing?

I would like to do something like this:

res.render('profile.ejs',{data:data});

but using angular. In other words, I have a view home#/profile, with data-binding to $scope.data.

Now, I need to have the server side routing redirect the call to the profile view, and send data at the same time (I use this when the user confirms their email).

Is there a way to call a specific view from the server-side routing, and populate the $scope.data in the client-side controller? Thanks!