Rework facebook integration to leverage angular promises + code cleanup.