fixed $observe and added a new directive validator-required
fixed demo site