Import angular-facebook.js  and refactor all facebook api call using this wapper