<commit_before>// inject firebase service
initalizeFirebase();


var app = angular.module("tfApp", ["firebase", "ui.router", 'ngDialog', 'chart.js']);


app.config(function($stateProvider, $urlRouterProvider) {
    $urlRouterProvider
        .otherwise('/');

    $stateProvider
        .state('login', {
            url: '/',
            templateUrl: '/templates/login.html',
            controller: 'loginController'

        })
        .state('signup', {
            url: '/signup',
            templateUrl: '/templates/sign_up.html',
            controller: 'signupCtrl'
        })
        .state('dashboard', {
            url: '/dashboard',
            templateUrl: '/templates/dashboard.html',
            controller: 'dashboardCtrl'
        })
        .state('dashboard.home', {
            url: '/home',
            templateUrl: '/templates/home.html',
            controller: 'homeCtrl'
        })
        .state('dashboard.event', {
            url: '/event',
            templateUrl: '/templates/event.html',
            controller: 'eventCtrl'
        })
        .state('dashboard.eventDetail', {
            url: '/event/:eid',
            templateUrl: '/templates/eventD.html',
            controller: 'eventDCtrl'
        })
        .state('dashboard.team', {
            url: '/event/:eid/team/:tid',
            templateUrl: '/templates/team.html',
            controller: 'teamCtrl'
        })
        .state('dashboard.notif', {
            url: '/notification',
            templateUrl: '/templates/notification.html',
            controller: 'notificationCtrl'
        })
        .state('dashboard.request', {
            url: '/request',
            templateUrl: '/templates/request.html',
            controller: 'requestCtrl'
        })
        .state('dashboard.profile', {
            url: '/profile/:uid',
            templateUrl: '/templates/profile.html',
            controller: 'profileCtrl'
        })

});



// app.controller("mainController",
// 	function($scope, Auth, $firebaseArray, $firebaseObject, $window){
// 		Auth.$onAuthStateChanged(function(authData){
// 			$scope.authData = authData;

// 			if (authData) {
// 				console.log(authData);
// 			}
// 			else console.log("signed out");
// 		});<commit_msg>main.js add address of about.html<commit_after>// inject firebase service
initalizeFirebase();


var app = angular.module("tfApp", ["firebase", "ui.router", 'ngDialog', 'chart.js']);


app.config(function($stateProvider, $urlRouterProvider) {
    $urlRouterProvider
        .otherwise('/');

    $stateProvider
        .state('login', {
            url: '/',
            templateUrl: '/templates/login.html',
            controller: 'loginController'

        })
        .state('signup', {
            url: '/signup',
            templateUrl: '/templates/sign_up.html',
            controller: 'signupCtrl'
        })
        .state('dashboard', {
            url: '/dashboard',
            templateUrl: '/templates/dashboard.html',
            controller: 'dashboardCtrl'
        })
        .state('dashboard.home', {
            url: '/home',
            templateUrl: '/templates/home.html',
            controller: 'homeCtrl'
        })
        .state('dashboard.event', {
            url: '/event',
            templateUrl: '/templates/event.html',
            controller: 'eventCtrl'
        })
        .state('dashboard.eventDetail', {
            url: '/event/:eid',
            templateUrl: '/templates/eventD.html',
            controller: 'eventDCtrl'
        })
        .state('dashboard.team', {
            url: '/event/:eid/team/:tid',
            templateUrl: '/templates/team.html',
            controller: 'teamCtrl'
        })
        .state('dashboard.notif', {
            url: '/notification',
            templateUrl: '/templates/notification.html',
            controller: 'notificationCtrl'
        })
        .state('dashboard.request', {
            url: '/request',
            templateUrl: '/templates/request.html',
            controller: 'requestCtrl'
        })
        .state('dashboard.profile', {
            url: '/profile/:uid',
            templateUrl: '/templates/profile.html',
            controller: 'profileCtrl'
        })
				.state('dashboard.about', {
            url: '/about',
            templateUrl: '/templates/about.html'
        })

});



// app.controller("mainController",
// 	function($scope, Auth, $firebaseArray, $firebaseObject, $window){
// 		Auth.$onAuthStateChanged(function(authData){
// 			$scope.authData = authData;

// 			if (authData) {
// 				console.log(authData);
// 			}
// 			else console.log("signed out");
// 		});
{'fraction_non_alphanumeric': 0.1589489554167564, 'fraction_numerical': 0.0, 'mean_word_length': 1.811138014527845, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2430679', 'n_tokens_mistral': 1298, 'n_tokens_neox': 1295, 'n_words': 211}