I am finding the failure of the following kind of construct
var
strLit='{"id":"'+d.index+'","desc":"'+d.entry.media$group.media$description.$t+'"}';
var Obj=angular.fromJson(strLit);
So this is giving me an error and I feel it is where the descriptions in
d.entry.media$group.media$description have a url in them.
I am trying to work out how to handle this. I couldnt even make my JSON
object without using angular.fromJson(strLit); as eval was giving me a
similar error maybe for the same reason.
So how should I best approach this. $sce isnt the thing I feel and I want
to escape the url perhaps but I'm not getting much success.
TY
--
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/groups/opt_out.