Cleaned up some of the angular code that wasn't being used