The message for empty list for ng-repeat always flash?
问题 The following code from an ionic project supposes to display message "No record" when the events is empty. However, the message always show for half a second and then disappear even when events is not empty? How to get rid of the flash? <a ng-repeat="event in events"> .... </a> <div ng-hide="events.length"> <!-- <div ng-show="!events.length"> behaves the same --> <div ....> No record. </div> <div> Update: A testable plunker is created https://plnkr.co/edit/lchTKN6C8niAsALquHoF?p=preview, you