Pre AngularJs loggin.