Read more

$setDirty for Angular 1.2

Arne Hartherz
December 10, 2014Software engineer at makandra GmbH

Angular 1.3 offers $setDirty for your ngModelController. If you are stuck on Angular 1.2, do this:

model.$setViewValue(model.$viewValue)
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

This turns the model dirty, while keeping its value.

Posted by Arne Hartherz to makandra dev (2014-12-10 14:25)