code: function loadByDataUrl(url) {
        var results = dataUrlRegex.exec(url);
        var isBase64 = /base64/i.test(url);
        var data = isBase64 ? window.atob(results[2]) : results[2];
  
        return $q.when(angular.element(data)[0]);
      }
docs: /* Load the icon from embedded data URL.