add job state to angular app