angularjs - Using ng-click to call two different functions -


is there way can ng-click call 2 functions?

i along lines of

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

instead of how have now, is:

ng-click = "search()" 

you can call multiple functions ';'

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

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -