The build is set to convert angular parameters into a string array before uglification so as not to break dependency injection. This works for most things, however not for controllers on directives currently. So have manually done what the build should.