fix final page in angular to work with new api