angular/angular.js — pull request #6772 by caitp (2014-03-20 15:16:04+00:00)
Title: fix(limitTo): do not convert Infinity to NaN

parseInt(Infinity, 10) will result in NaN, which becomes undesirable when the
expected behaviour is to return the entire input.

I believe this is possibly useful as a way to toggle input limiting based on
certain factors.

Closes #6771