{"size": 812, "ext": "js", "max_stars_repo_path": "app/widgets/time-widget/time-widget-service.js", "max_stars_repo_name": "megan-kd/war-room", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/widgets/time-widget/time-widget-service.js", "max_issues_repo_name": "megan-kd/war-room", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/widgets/time-widget/time-widget-service.js", "max_forks_repo_name": "megan-kd/war-room", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.8823529412, "max_line_length": 101, "alphanum_fraction": 0.4766009852}
angular.module('warRoom')
    .service('timeWidgetService', function() {
        return  {
                initialize: function ($scope, obj) {
                    if(obj) {
                        $scope.loadTabs(obj)


                    }
                },

                serialize: function($scope) {
                    return {

                        tabNames: $scope.tabNames,
                        deltaTime: $scope.deltaTime,
                        tf:$scope.tf

                    }
                }
            }

        }
    );
/*
save the tab names and their times in a corresponding order and fetch them and display the tabs again

tab names to create tabs, delta time, 
set tf to visable for the tabs
set tab names
create time array
display time array
ned to make timeout run once
 */