misc/demo/public/vendor/angular-form-for/form-for.js
function () {
                if (!filterText) {
                    var filterTextSelector = $element.find('input');
                    if (filterTextSelector.length) {
                        filterText = filterTextSelector[0];
                    }
                }
                if (filterText) {
                    $timeout_(filterText.focus.bind(filterText));
                }
            }
function () {
                if (!filterText) {
                    var filterTextSelector = $element.find('input');
                    if (filterTextSelector.length) {
                        filterText = filterTextSelector[0];
                    }
                }
                if (filterText) {
                    $timeout_(filterText.focus.bind(filterText));
                }
            }
function ( ) { if ( ! filterText ) { var filterTextSelector = $element . find ( 'input' ) ; if ( filterTextSelector . length ) { filterText = filterTextSelector [ 0 ] ; } } if ( filterText ) { $timeout_ ( filterText . focus . bind ( filterText ) ) ; } }
Helper method for setting focus on an item after a delay
Helper method for setting focus on an item after a delay