I attempted to replicate the functionality demonstrated here, which involves organizing an array of objects in the view using the filter orderBy
. While my code is functioning properly, when I apply the orderBy
filter, nothing appears in the view. You can access my example plunker here. To see the issue, please add | orderBy:'num'
to line 22 in my index.html
file. The problem persists regardless of whether I use | orderBy:'id'
or | orderBy:'label'