When working with Angular, I am looking to replicate the functionality of jQuery's find() method in order to achieve the following:
var $vCard = $(stanza).find("vCard");
var img = $vCard.find('BINVAL').text();
var type = $vCard.find('TYPE').text();
var img_src = 'data:'+type+';base64,'+img;
Instead of relying on jQuery, I want to accomplish this task without it. However, I am struggling to identify the correct approach for extracting these details from a stanza object that contains a VCard received from the server.