Added the REST call to angular for facebook login.