title: Unable to bind popup to polygon (geoJSON) using Leaflet
body: <p>I am trying to add to the generated polygon a message that will be displayed when the user clicks on it in Angular.</p>
  <p>I tried to create something based on the available materials on the Leftlet website, but I can't add the message to polygon. I used an identical method, for geojson pointing to a point, and everything works without a problem.</p>
  <p>The materials I found, unfortunately, mostly show cases that work (e.g., the geojson point).</p>
  <p>Geojson displays correctly on the map, the only problem is the lack of popup.</p>
  <pre><code>L.geoJSON(geojsonFeature,
              {
                  style: function(feature) {
                      return {
                          &quot;color&quot;: &quot;#78c679&quot;,
                          &quot;weight&quot;: 5,
                          &quot;opacity&quot;: 0.9
                      }
                  },
                  onEachFeature: (feature, layer)=&gt;{
                      layer.bindPopup('Test message');
                  }
              }
          ).addTo(this.map);
  </code></pre>