Class: AppMainController

AppMainController~ AppMainController


new AppMainController()

The main controller, populates the properties routes and
currentRoute which can be used to layout a navigation

Source:

Methods


<static> factory()

Factory to create the directive; used in the angular.directive call

Source:

setRoutes()

Derive a navigational structure from the information stored in the angular
$route provider (see AppConfigurator, where this component is configured).
Put that navigational structure into the "routes" property of the
controller.

Source:
See:

updateCurrentRouteHandler()

Return callback to be invoked in case the currently selected page is
changed (that is, if $route.current changes). Callback will populate those
changes to the "currentRoute" property of the controller.

Source: