This question already has an answer here:
- Insert HTML into view using AngularJS 13 answers
Actually im searching about how i can transform my variable into Html, this variable contain a embed code from instagram.
in my controller
instaembed.controler "instaCtrl", ($scope, $http) ->
#instagram embed get example from insta
$http.get ("http://api.instagram.com/oembed?url=http://instagr.am/p/fA9uwTtkSN/")
.success(data) ->
$scope.html = data.html
...
the result in $scope.html
contain a blockquote with many div
and image
i've tested it in the view (with ngsanitize
), but it show only the text and not the image.
Anyone have an idea about how to get it ? :D
thank you (sorry for my english).