I am using md-datepicker: https://material.angularjs.org/latest/demo/datepicker
I am unable to add a dynamic value to the aria-label in the datepicker. It accepts a hard coded value only. You can try the demo here: https://codepen.io/anon/pen/jveJGb
Replace the following js function in the above codepen:
function() {
this.myDate = new Date();
this.isOpen = false;
this.place = "Enter some date";
this.arialabel = "some label";
});
Replace any one datepicker with below:
<md-datepicker ng-model="ctrl.myDate" md-placeholder="{{ctrl.place}}" aria-label="{{ctrl.arialabel}}"></md-datepicker>
aria-label value loads as empty.
Need help here.