adding ng-events