Get predicates from ResourceController

TemplatePlugin gets predicates as param when triggered