code: function _isArgsValid(title, options) {
              var isTitleString = angular.isString(title),
                  isOnClickFunction = (!options.onClick || angular.isFunction(options.onClick));
  
              return (isTitleString && isOnClickFunction);
          }
docs: Private functions