Ng-model validated when updated externally through markitup