ui-codemirror
ui-codemirror copied to clipboard
Angular strict dependency injection
Hi,
Module is not written for strict dependency injection :
https://docs.angularjs.org/guide/di
Directive declaration should become : .directive('uiCodemirror', ["$timeout", "uiCodemirrorConfig", uiCodemirrorDirective])
:+1:
bower package has minified version with annotations(via ng-annotate), npm package has not.
:+1: Took me a while to figure out why it was crashing on production.