I am using angular with openlayers and I am following the example posted below in the link:
        https://openlayers.org/en/latest/examples/overlay.html
that example contains the following code:
  var element = popup.getElement();
  var coordinate = evt.coordinate;
  var hdms = toStringHDMS(toLonLat(coordinate));
  $(element).popover('dispose');
  popup.setPosition(coordinate);
  $(element).popover({
    container: element,
    placement: 'top',
    animation: false,
    html: true,
    content: '<p>The location you clicked was:</p><code>' + hdms + '</code>',
  });
in angular when i compile the code it generates error for
$(element).popover('dispose');
popup.setPosition(coordinate);
$(element).popover({
it says that poppver is not a function and the
$(element)
is not recognized by the IDE visual code.
what is the equivalent to $ sign in angular and how to adapt the above mentioned lines to accommodate in angular code
 
    