ui-codemirror icon indicating copy to clipboard operation
ui-codemirror copied to clipboard

Angular strict dependency injection

Open maitredede opened this issue 10 years ago • 2 comments

Hi,

Module is not written for strict dependency injection :

https://docs.angularjs.org/guide/di

Directive declaration should become : .directive('uiCodemirror', ["$timeout", "uiCodemirrorConfig", uiCodemirrorDirective])

maitredede avatar Sep 04 '15 02:09 maitredede

:+1:

bower package has minified version with annotations(via ng-annotate), npm package has not.

i4got10 avatar Oct 07 '15 11:10 i4got10

:+1: Took me a while to figure out why it was crashing on production.

ostruk avatar Oct 07 '15 15:10 ostruk