Bare bones angular JS SPA with authentication