Ionic creator + firebase + facebook login

Hi Everyone!

I’ve read a lot of github examples, but i’m very beginner. I use Ionic Creator. I created a facebook social login but it works only on web. Please send me an example for android and ios facebook login in creator. The connection with facebook developer and firebase is all correct. I need only a function for ios and android login.

var auth = $firebaseAuth();
var provider = new firebase.auth.FacebookAuthProvider();

$scope.fblogin = function() {

Many thanks…