从数组生成新对象和数组(javascript)

从数组生成新对象和数组(javascript),javascript,angular,typescript,Javascript,Angular,Typescript,我有一个数组,如下所示: [{"movieCode": 1314, "name": "Ted 2", "theaterCode": "467", "theaterName": "th 7", "time": "20

我有一个数组,如下所示:

          [{"movieCode": 1314,
            "name": "Ted 2",
            "theaterCode": "467",
            "theaterName": "th 7",
            "time": "2019-01-01T10:10:00",
            "price": 75000},
            {"movieCode": 1314,
            "name": "Ted 2",
            "theaterCode": "467",
            "theaterName": "th 7",
            "time": "2019-01-01T15:10:00",
            "price": 75000},
           {"movieCode": 1379,
            "name": "Hello world",
            "theaterCode": "467",
            "theaterName": "th 7",
            "time": "2019-01-01T19:10:00",
            "price": 75000},...]
我希望在HTML中使用Angular将其呈现为如下所示:

ted2: 10:10:00 15:10:00  
我想象这个物体看起来像这样,但我不知道怎么做:

       [
        {"movieName": "Ted 2",
         "schedule": [{},{},{}]},
        {"movieName": "Hello world",
         "schedule": [{},{},{}]},...
       ]