undefined is not an object (evaluating 'component.router')