Turning question set into a directive