I want to use Angular Material Datepicker to get a date into my page. I use this code, but cannot figure out how to access the selected value correctly.
You can access the datepicker value by using ngModel. The ngModel needs to be in the input tag. See the Plunker demo.
ngModel
input