added new panels directive with controller attached