removed unnecessary ngClick and ngClass check