user2516917 user2516917 - 9 months ago 38
AngularJS Question

Using ng-click to call two different functions

Is there a way i can get ng-click to call two functions?

i would like something along the lines of

ng-click ="{search(),match()}"

instead of how i have it now, which is:

ng-click = "search()"


You can call multiple functions with ';'

ng-click="search(); match()"