Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
366 B

(function(){"use strict";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 || '/';
});
}
}());