Fixed the handling of "errors" in the angular connector, fixes #23