>Hi everybody,
>
>I've noticed a change after we upgraded our angularJS version. We have the following (or similar) markup in many places:
>
> <table id="guestHistoryTable" class="table table-bordered table-hover table-list" ng-show="guestHistoryData">
>
>Note the ng-show here. Now, the guestHistoryData is [] but the table's header is still showing and prior to upgrade it would not show at all.
>
>I am wondering if I have to change condition to
guestHistoryData.length > 0
here in all such places? Did you notice similar behavior?
>
>UPDATE. Using
length > 0
indeed fixed the problem, but it means we would need to change all our forms.
>
>Thanks in advance.
Could you change the models so that guestHistoryData is undefined unless populated ?