That's because with ng-if the item is not in the DOM at all when the widget is first constructed. It's the same problem as with ng-repeat
, unfortunately not fixable.
For this case you can use ng-show instead: http://plnkr.co/edit/YEFxNMmuFnjbXS7sCA7B?p=preview
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI