A Facebook Login API Implementation in an Angular Service