public static void Main() { Module app = new Module("myApp"); app.Config<PhoneConfig>(); app.Controller<PhoneListController>(); app.Controller<PhoneListControllerDetail>(); }
public static void Main() { Module app = new Module("UiRouterExample", UiRouter.ModuleName); app.Config<UiRouterConfig>(); app.Controller<MyController>(); app.Controller<State1Controller>(); }