resetConfig(config) {
        validateConfig(config);
        this.config = config.map(copyConfig);
        this.navigated = false;
        this.lastSuccessfulId = -1;
    }
/**
     * Resets the configuration used for navigation and generating links.
     *
     * ### Usage
     *
     * ```
     * router.resetConfig([
     *  { path: 'team/:id', component: TeamCmp, children: [
     *    { path: 'simple', component: SimpleCmp },
     *    { path: 'user/:name', component: UserCmp }
     *  ]}
     * ]);
     * ```
     * @param {?} config
     * @return {?}
     */
Resets the configuration used for navigation and generating links.
Usage


Resets the configuration used for navigation and generating links . Usage
resetConfig(config) {
        validateConfig(config);
        this.config = config.map(copyConfig);
        this.navigated = false;
        this.lastSuccessfulId = -1;
    }
resetConfig ( config ) { validateConfig ( config ) ; this . config = config . map ( copyConfig ) ; this . navigated = false ; this . lastSuccessfulId = - 1 ; }
Resets the configuration used for navigation and generating links.
Resets the configuration used for navigation and generating links .