Angularjs2 resolve all
<p>What I want to achieve is to make request to /session on application refresh, what's more - the problem is that I need to make it synchronous, application should wait for resolve and with that response I could either go to login page or leave user on current page.</p>