Fix bug in source mode where key one char behind.

In source mode, the data retrieved via getData was always one
character behind the last key press. By moving the call to
getData inside the $timeout, we get the current data value
before updating the model's view value.