fix an issue where ng-model causes extra info to print to dom