{"size": 524, "ext": "js", "max_stars_repo_path": "client/js/app.js", "max_stars_repo_name": "niks92/angular-express", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/js/app.js", "max_issues_repo_name": "niks92/angular-express", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/js/app.js", "max_forks_repo_name": "niks92/angular-express", "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.8181818182, "max_line_length": 100, "alphanum_fraction": 0.6545801527}
const app = angular.module('startApp',['ui.router','ui.bootstrap']);


// removes hash from angular js routes (requires a base tag with attribute href='/' inside head tag)
app.config(["$locationProvider", function($locationProvider) {
  $locationProvider.html5Mode(true);
}]);


app.config(["$stateProvider",function ($stateProvider) {

  $stateProvider
      .state('home',{
        url: '/',
        templateUrl: "html/dashboard.html",
        controller: DashboardController,
        controllerAs: 'home'
      })
}]);


