angular app functionality now basically works