How can we make append wait until the previous append is complete. I am appending huge amount of data so the present append should check if the pre
append
building on the guys answers above i did this in angular:
el.append('random stuff').append('{{randomFunction()}}');