fixed problem with ngModel updates for macros