ui-codemirror
ui-codemirror copied to clipboard
Added dependency injection and blur event
Hi, this pull request contains the following changes:
- added dependency injection for "$timeout" and "uiCodemirrorConfig" to uiCodemirrorDirective
- fixed a typo ("codemirrot" -> "codemirror")
- emit HTML "blur" event when codemirror instance loses focus (this is required, for example, to update ngModel on blur through ngModelOptions)
Thanks!