step 1: know how to use ng-template
step 2: apply scope to ng-template