restrict matching based on method context (directive, provider). closes #73