how to use $scope with eval code example
Example: javascript execute string code
var theInstructions = "alert('Hello World'); var x = 100";
var F=new Function (theInstructions);
return(F());
var theInstructions = "alert('Hello World'); var x = 100";
var F=new Function (theInstructions);
return(F());