Added controller example and expanded scope example