define(["auth/module"],function(a){"use strict";return a.registerDirective("facebookSignin",["$rootScope","ezfb",function(a,b){return{replace:!0,restrict:"E",template:'<a class="btn btn-block btn-social btn-facebook"><i class="fa fa-facebook"></i> Sign in with Facebook</a>',link:function(c,d){d.on("click",function(){b.login(function(b){b.authResponse&&a.$broadcast("event:facebook-signin-success",b.authResponse)},{scope:"public_profile"})})}}}])});