{"segments":
[
{
"Group":0,
"Carrier":"TK",
"FlightNumber":"###",
"ChangeOfPlane":false,
"OptionalServicesIndicator":false,
"FlownSegment":false,
"ScheduleChange":false,
"Origin":"LHR",
"Destination":"IST",
"DepartureTime":"2016-04-12T16:30:00.000+01:00",
"ArrivalTime":"2016-04-12T22:20:00.000+03:00"
}
{
"Group":0,
"Carrier":"TK",
"FlightNumber":"118",
"ChangeOfPlane":false,
"OptionalServicesIndicator":false,
"FlownSegment":false,
"ScheduleChange":false,
"Origin":"IST",
"Destination":"KHI",
"DepartureTime":"2016-04-13T00:10:00.000+03:00"
}
]
}
this is the structure what i want is this string "DepartureTime":"2016-04-12T16:30:00.000+01:00" into this format "21 Apr 04:40" can anyone help me in this i am new to angular js and i want to have a filter that can convert my string to my desire result. Many Thanks