Fix karma unit tests, were broken by angularfire