updated angular warranty logic to use existing data services