Useful set of Facebook functions as an angular service