resolving issue where directives where compiled before data was
available. creating placeholders for all the different kind of criteria