Fix (based on angular-ui#230)
- Only save editor when editor is marked as stale (like done in debounce, which should really be using the same code)
- Listen to keyup for new keystrokes that are sometimes missed by changes event
- Do not file events when updating model
Improvement
- Stop saving editor when the editor fires an event.
Fixes
- Fix content disappearing in lists when pasting with power paste and then undoing content.
Improvements
- Performance - use
$evalAsyncto run changes in current or next and only run digest if changes to content are seen. This is to limit digests run by angular