The Angular framework was designed with flexibility in mind. That approach allows Angular applications to be executed across different environments — browser, server, web-worker, and even mobile devices are possible.
The other day, in Ben's post about fat-arrow and lambda expression support in Lucee 188.8.131.52heI wrapped one Array inside another Array so that he could more easily sort the original Array using a "natural sort". This pattern, of wrapping one Array inside another one for local manipulation, is one that he's begun to use more and more, especially in his Angular code. He's been finding that it makes a lot of operations easier to implement and to understand and maintain. As such, he wanted to share this approach.
As you may already know, Angular leverages ZoneJS in order to find out when an asynchronous task is completed, and as a result, a change detection cycle should be triggered.