Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-app="myApp">
  <div ng-controller="myController">
    <div ng-bind-html="myHtml"></div>
  </div>
</body>
</html>
 
var myApp = angular.module('myApp',[]);
myApp.controller('myController', ['$scope', '$sce', '$interval', function($scope, $sce, $interval) {
  
  var index = 1;
  
  $interval(function() {
    $scope.myHtml = $sce.trustAsHtml('<p><font size="6"><marquee>Hello' + index + '</marquee></font></p>');
    
    index++;
    }, 4000);
}]);
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
ajohnston256pro
0viewers