The <!--ko--> and <!--/ko--> works as start and end markers making it a virtual syntax and binds data as if it is a real container.

Handling destroyed items in array

Array items can be destroyed (made hidden currently and removed later) using destroy array function provided by KO. These items are not shown in foreach and are hidden automatically. To see these hidden items, KO provides a method called includeDestroyed. Hidden items are shown if this parameter is set to Boolean true.