Get the Newsletter

activate

A Method

activate(params: any, routeConfig: RouteConfig, navigationInstruction: NavigationInstruction):

Implement this hook if you want to perform custom logic just before your view-model is displayed. You can optionally return a promise to tell the router to wait to bind and attach the view until after you finish your work.

Parameters

params: any
routeConfig: RouteConfig
navigationInstruction: NavigationInstruction