Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

$window angular js

var myapp = angular.module("myapp", []);

myapp.controller("MyController", function($scope, $interval){

    $interval(callAtInterval, 5000);

});

function callAtInterval() {
    console.log("Interval occurred");
}
Source by tutorials.jenkov.com #
 
PREVIOUS NEXT
Tagged: #angular #js
ADD COMMENT
Topic
Name
9+6 =