ng-click logic added