How to set default parameter for @Input in Angular2? December 12, 2023 by Tarik try @Input() name: string = 'noname';