fixes minification bug for directive params