fixed minification errors in directive controllers