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

java - Last square of 8x8 grid not drawn, using two nested FOR loops -

What design pattern is this code in Javascript? -

javascript - Unusual behaviour when drawing lots of images onto a large canvas -