Bug in angular..