when ng-repeat has done, add click event to span
add click event to span