Fix: set codeMirror instance into refresh fn

There was the mistake on my pull request https://github.com/angular-ui/ui-codemirror/commit/1c03cacdd30d5b70cb0e8c15b6383fbfddeff6d2
Sorry for that