Ng-if or ng-show behave inconsistently at a page that requires scrolling

Hello,

I have a list of repeated items that is causing the scrollbar to show. When I try to add item dynamically by using ng-show or ng-if, it behaves inconsistently.

Here is the plunkr