Kategorie
Bez kategorii

Task 10

TIPS

Some functions before JSON data will be loaded, can evaluate a source code and in the end we could receive expected result. Good example is url for image. To prevent such situation, we should use ready directors from angular library (ng-src).

Angular filtering has defined filters which helps transform data. So instead keeping data with all additional information, we can just keep only numbers. During filtering and transfer data to view by filtering we can add extensions, dots and other to make data more legible for user.