Allow for minification

I made a small update to annotate the dependency injection in the main directive. This makes it possible to minify a JS codebase that uses JSONedit.