config.$inject = [ '$stateProvider' ];

function config ($stateProvider) {

	$stateProvider
		.state('landing.enable-student', {
			url: '/habilitar-estudiante',
			templateUrl: 'templates/components/landing/enable-student/enable-student.html',
			controller: "EnableStudentController as vm",
			onEnter: onStateEnter
		});
}

let onStateEnter = [ '$rootScope',
	function(rootScope){
		rootScope.viewTitle  = "Habilitar Estudiante";
    	rootScope.viewStyles = "landing enable-student";
    }
];

module.exports = config;

config.$inject = [ '$stateProvider' ];

function config ($stateProvider) {

	$stateProvider
		.state('landing.enable-student', {
			url: '/habilitar-estudiante',
			templateUrl: 'templates/components/landing/enable-student/enable-student.html',
			controller: "EnableStudentController as vm",
			onEnter: onStateEnter
		});
}

let onStateEnter = [ '$rootScope',
	function(rootScope){
		rootScope.viewTitle  = "Registrar Estudiante";
    	rootScope.viewStyles = "landing enable-student";
    }
];

module.exports = config;

Change to enable student config