Services || Questions


#1



Hello Teachers , I have questions about instructions 2 ,
Notice in the view, we're using ng-repeat to loop through each item in the days array. Inside this loop, display a day's four pieces of data.

Why it's not {{days.xxx}} or {{fiveDay,xxx}} but becomes {{day.datetime | date}} , {{day.high}} , {{day.low}}.
I checked the files like forecast.js & MainController.js , still don't know why and where to call the data.



#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.