I am parsing JSON data using Angular that has simple HTML embed code for a
twitter widget stored in one of the JSON properties but I am unable to get
the twitter widget to display on the page.
My app is setup to use ngtweet as a dependency.
var app = angular.module('Top10App', ['ngSanitize', 'ngtweet']);
Here is my loop from my index.html:
<div ng-repeat ="post in postings">
<posting-panel info="post"></posting-panel> </div>
Here is my services/JSON view:
<div ng-if="info.specialContent"><div ng-bind-html
="info.html"></div></div></div>
Here is the JSON data I'm trying to display
{
"columns": "3",
"specialContent": true,
"html": "<twitter-timeline><a class='twitter-timeline'
href='https://twitter.com/IAmAru/lists/food-trucks'
data-widget-id='673710543212052480'>Tweets from
https://twitter.com/IAmAru/lists/food-trucks</a><twitter-timeline>"}
Any help would be appreciated.
--
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.