{"size": 377, "ext": "js", "max_stars_repo_path": "demo/controller.js", "max_stars_repo_name": "EventBooking/angular-moment", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "demo/controller.js", "max_issues_repo_name": "EventBooking/angular-moment", "max_issues_repo_issues_event_min_datetime": "2017-06-08T18:17:39.000Z", "max_issues_repo_issues_event_max_datetime": "2017-06-08T18:58:29.000Z", "max_forks_repo_path": "demo/controller.js", "max_forks_repo_name": "EventBooking/angular-moment", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 37.7, "max_line_length": 69, "alphanum_fraction": 0.6339522546}
function TestController() {
    this.now = moment().format();
    this.start = moment().format();
    this.end = moment(this.start).add('3','d').add('3','h').format();
    this.lastWeek = moment().subtract(8,'d');
    this.hoursAgo = moment().subtract(3,'h');
    this.daysAgo = moment().subtract(24,'h');
}

angular.module("demo").controller("testcontroller", TestController);