AngularJS based Single page login application