code: function blurInput()
          {
              if (angular.isDefined(lxSearchFilter.closed) && lxSearchFilter.closed && !input.val())
              {
                  $element.velocity(
                  {
                      width: 40
                  },
                  {
                      duration: 400,
                      easing: 'easeOutQuint',
                      queue: false
                  });
              }
  
              if (!input.val())
              {
                  $timeout(function() {
                      lxSearchFilter.modelController.$setViewValue(undefined);
                  }, 500);
              }
          }
docs: //////////