nl_tokens: This VirtualRepeatModelArrayLike class enforces the interface requirements for infinite scrolling within a mdVirtualRepeatContainer . An object with this interface must implement the following interface with two ( 2 ) methods :
pl_tokens: function VirtualRepeatModelArrayLike ( model ) { if ( ! angular . isFunction ( model . getItemAtIndex ) || ! angular . isFunction ( model . getLength ) ) { throw <mask> ( 'When md-on-demand is enabled, the Object passed to md-virtual-repeat must implement ' + 'functions getItemAtIndex() and getLength() ' ) ; } this . model = model ; }