Add error and success properties to scope to log errors and success on frontend
Add error and success properties to scope to log errors and success on frontend

andela-jkanyua/cp1-inverted-index,andela-jkanyua/cp1-inverted-index