refactor(formatResults): remove logs from displayResults and return error message objects to be recieved by decorator for $compile