format for ng-model.