Added ng-click function