題一

關於這一題我看了很多網站但還是解決不出來,我分別在iT邦幫忙和stackOverflow提問
stackoverflow
iT邦幫忙
,照著他們的解答我依舊無法解決問題十分抱歉
我認為問題點在於我無法將associative array插進第二個table裡面(第一個table可以),我嘗試過使用
*ngFor *ngif並用、
ng-container
但依舊無法,請bass姐賜教

cnt:
城市資訊;
id name coord country population
lon lat
{{item.city.id}} {{item.city.name}} {{item.city.coord.lon}} {{item.city.coord.lat}} {{item.city.country}} {{item.city.population}}
天氣資訊;
時間 溫度 壓力 濕度 天氣 風速 風向 雲量 rain
當天 最低溫 最高溫 晚上 下午 早上 ID main description icon
{{ item.dt * 1000 | date:'yyyy-MM-dd hh:mm:ss' }} {{ item.temp.day - 273.15 | number }} °C {{ item.temp.min | number }} °C {{ item.temp.max | number }} °C {{ item.temp.night | number }} °C {{ item.temp.eve | number }} °C {{ item.temp.morn | number }} °C {{ item.pressure | number }} hpa {{ item.humidity | number }} % {{ item.weather.id }} {{item }} {{item }} {{item }} {{item}} meter/sec {{item}} ° {{item}} % {{item}}