fixed directive controller declaration