support ngModel for chz. Extract templates.