adding js to ng-click for focus