code: function escapeJsonQuotes(json) {
        return JSON.stringify(json)
          .replace(/'/g, "&amp;apos;")
          .replace(/"/g, "&amp;quot;")
          /**
           * Codepen was unescaping &lt; (<) and &gt; (>) which caused, on some demos,
           * an unclosed elements (like <md-select>).
           * Used different unicode lookalike characters so it won't be considered as an element
           */
          .replace(/&amp;lt;/g, "&#x02C2;") // http://graphemica.com/%CB%82
          .replace(/&amp;gt;/g, "&#x02C3;"); // http://graphemica.com/%CB%83
      }
docs: Recommended by Codepen to escape quotes. See http://blog.codepen.io/documentation/api/prefill