Angular-ui test application for an SPA and a fake user connection