Updated unit tests. Still 2 problems: 1 with facebookServiceSpec not waiting on promise.then and expects not executing.
The second with directivesSpec where there is an HTTPGet error