I am using an Angular 1.5 component and trying to do an Angular Translate with parameters. Here is my markup:
Value is {{$ctrl.minFormatted}}
<div ng-message="dateRange" class="error-message">{{'invalidRange' | translate:'{ start: $ctrl.minFormatted, end: $ctrl.maxFormatted}'}}</div>
The message translates except it doesn't fill in the parameters. I verified $ctrl.minFormatted does have a value by displaying right above the translation.
In the past when I used a standard angular controller I used $scope.minFormatted. However this doesn't work since I'm using the controller as syntax