var app=angular.module('myApp',[]);
app.controller('CurTimeController', function($scope,$interval) {
$interval(function() {
$scope.x = new Date().getSeconds();
}, 1000);
})
var app=angular.module('myApp',[]);
app.controller('CurTimeController', function($scope,$interval) {
$interval(function() {
$scope.x = new Date().getSeconds();
}, 1000);
})