Various methods of signing in to Google and Facebook Oauth using Angular.js