Can someone help me compact and clean up this code.

It helps if the code actually works in the first place. Your second bit of code wont compile because you haven't actually included the Servo library - you just put #include with nothing after it.

Anyway, you can use arrays, for example:

#include "Servo.h"

Servo myservo[5]; // create servo object to control a servo

void setup() {
  Serial.begin(9600);
  for (byte i = 0; i < 5; i++){
    myservo[i].attach(i+2);
  }
}

void loop()
{
  if(Serial.available() >=5) {
    byte servoAng[5];
    for (byte i = 0; i < 5; i++){
      servoAng[i] = Serial.read();
      myServo[i].write(servoAng[i]);
    }
  }
}

Have a go at changing the first peice of code to use arrays in a similar fasion to this peice. You will learn more if you have a go yourself.