Angular: Empty Fiddle
http://angularjs.org/
HTML
<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<div ng-controller="MyCtrl">
Hello, {{name}}!
</div>
JavaScript
var myApp = angular.module('myApp',[]);
//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});
function MyCtrl($scope,$timeout) {
$scope.name = 'Superhero';
$scope.testTimeOutfunction = function(){
alert("check if this pops up");
};
//$scope.testTOfunction();
$timeout($scope.testTimeOutfunction(),100000000);
}