[chore] Updating directive with ng-model