cleaned up old Angular code