fix for the ngmodel render problem.