I'm new to Angular so it's probably something easy I'm struggling with.
Here's the JSON with the data:
[
{
"date" : "2016-02-12T20:30:00",
"duration" : 60,
"supervisor": {
"name" : "Anna",
"surname" : "Nowak",
"supervision_fee": "140.00"
}
}
]
I'm feeding this into a select element like this:
<select name="meetingSelect"
ng-model="meeting.active"
ng-options="meeting.id as meeting.date|date:'dd.MM.yy' + ' '+ meeting.supervisor.name + ' '+meeting.supervisor.surname for meeting in scheduledMeetings"
ng-change="" class="form-control">
</select>
What I get however in my HTML code is the following:
12.02.16 AnnPM No6PMK
Seems that Angular must be escaping (?) some characters (like out of 'a' we get 'PM')...
Why is this happening and what to do about that?
Thanks!