{"size": 1499, "ext": "js", "max_stars_repo_path": "src/app/settings/router.js", "max_stars_repo_name": "Portujua/basicapp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/app/settings/router.js", "max_issues_repo_name": "Portujua/basicapp", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/app/settings/router.js", "max_forks_repo_name": "Portujua/basicapp", "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": 34.0681818182, "max_line_length": 87, "alphanum_fraction": 0.4462975317}
    angular.module ('app')
      .config(($stateProvider, $urlRouterProvider) => {
        $stateProvider
          .state('login', {
            url: '/',
            template: '<login></login>',
            title: 'Sign in'
          })
          .state('logout', {
            url: '/logout',
            title: 'Sign out',
            controller: 'LogoutController',
            // The following line, is for routes that require authentication
            //resolve: { authRequired: ['Auth', (a) => { return a.checkSession(); }] },
          })
          .state('root', {
            template: '<root></root>',
            //resolve: { authRequired: ['Auth', (a) => { return a.checkSession(); }] },
            // Remove this route from breadcrumbs
            ncyBreadcrumb: { skip: true }
          })
          .state('root.home', {
            url: '/home',
            template: '<home></home>',
            title: 'Home',
            resolve: { authRequired: ['Auth', (a) => { return a.checkSession(); }] },
            // Breadcrumbs info
            ncyBreadcrumb: { label: 'Home' }
          })
          .state('root.test', {
            url: '/test',
            template: '<test></test>',
            title: 'Test',
            //resolve: { authRequired: ['Auth', (a) => { return a.checkSession(); }] },
            // Breadcrumbs info
            ncyBreadcrumb: { label: 'Test', parent: 'root.home' }
          })


          ;

        $urlRouterProvider.otherwise('/');
      });
