I REALLY don't know why this is solo difficult, jQuery does it so easily. I 
am trying to find and remove a div element from a string of html text using 
AngularJs. Can someone please help me out. Below is an example of the text 
and I would like to remove the "<div 
class="wp_social_single_share_wrapper">" and ALL it's contents. Any ideas?

"<p>54.58 of students who sat the exams (1,463 students) recorded scores at 
or above the national mean of 60.70 percent. 1,195 scored below. This 
year’s mean was lower than last year’s by 0.35 percent. Composites scores 
were from 12 to 97.33 percent.</p> <p>Over 2,600 students were assigned to 
secondary schools. Six were not.</p> <p>Forestiere Methodist Combined 
School emerged the top overall school (schools with means at or above the 
national mean) with Camille Henry Memorial second, and Dame Pearlette 
third.</p> <p>Last year the Dame Pearlette Louisy Primary School also 
produced the top male and female performers at the exams.</p> <p>&nbsp;</p> 
<div class="wp_social_single_share_wrapper"><div 
class="wp_social_share_twitter wpsh_item" > <a 
href="https://twitter.com/share"; class="twitter-share-button" 
data-url="http://www.stlucianewsonline.com/breaking-news-dame-pearlette-louisy-primary-tops-common-entrance-exams/";
 
data-text="BREAKING NEWS: Dame Pearlette Louisy Primary students top Common 
Entrance exams" data-count="vertical">Tweet</a><script 
type="text/javascript" src="//platform.twitter.com/widgets.js"></script> 
</div> <!--Twitter Button--><div class="wp_social_share_gplus wpsh_item"> 
<!-- Place this tag where you want the +1 button to render --> <div 
class="g-plusone" data-size="tall" 
data-href="http%3A%2F%2Fwww.stlucianewsonline.com%2Fbreaking-news-dame-pearlette-louisy-primary-tops-common-entrance-exams%2F"></div><span
 
style="clear:both;display:none;"><img 
src="http://www.stlucianewsonline.com/wp-content/plugins/wp-spamfree/img/wpsf-img.php";
 
width="0" height="0" alt="" 
style="border-style:none;width:0px;height:0px;display:none;" 
/></span></div>"

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to