code: function getFirstAndLastName(data) {
      var names = data.split(" ");
      if (names && names.length >= 2) {
          var firstName = names[0];
          var lastName = names[1];
          if (firstName && lastName) {
              var text = firstName.substr(0, 1) + lastName.substr(0, 1);
              return text;
          }
          else {
              return data.substr(0, 2);
          }
      }
  }
docs: get the first name and last name first letters and combined and form the letter avatar
  @param {type} data
  @returns {unresolved}