{"size": 336, "ext": "js", "max_stars_repo_path": "app/nav.controller.js", "max_stars_repo_name": "mostafabarmshory/angular-material-expansion-panel", "max_stars_repo_stars_event_min_datetime": "2018-10-09T05:54:15.000Z", "max_stars_repo_stars_event_max_datetime": "2018-10-09T05:54:15.000Z", "max_issues_repo_path": "app/nav.controller.js", "max_issues_repo_name": "mostafabarmshory/angular-material-expansion-panel", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/nav.controller.js", "max_forks_repo_name": "mostafabarmshory/angular-material-expansion-panel", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.8461538462, "max_line_length": 66, "alphanum_fraction": 0.7083333333}
angular
  .module('angularMaterialExpansionPanel')
  .controller('NavController', NavController);



NavController.$inject = ['$scope', '$rootScope'];
function NavController($scope, $rootScope) {
  $rootScope.$on('$routeChangeSuccess', function(event, current) {
    $scope.currentNavItem = current.$$route.originalPath || '/';
  });
}
