function createFilterFor(query) {
            var lowercaseQuery = angular.lowercase(query);

            return function filterFn(tags) {
                return (tags._lowername.indexOf(lowercaseQuery) === 0)
            };

        }
/**
         * Create filter function for a query string
         */
Create filter function for a query string
Create filter function for a query string
function createFilterFor(query) {
            var lowercaseQuery = angular.lowercase(query);
            return function filterFn(tags) {
                return (tags._lowername.indexOf(lowercaseQuery) === 0)
            };
        }
function createFilterFor ( query ) { var lowercaseQuery = angular . lowercase ( query ) ; return function filterFn ( tags ) { return ( tags . _lowername . indexOf ( lowercaseQuery ) === 0 ) } ; }
Create filter function for a query string
Create filter function for a query string