PHP Classes

File: js/iniApp.js

Recommend this page to a friend!
  Classes of Boss Ibrahim Mussa  >  PHP School Management System with Student Payroll  >  js/iniApp.js  >  Download  
File: js/iniApp.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP School Management System with Student Payroll
Manage payments from school students
Author: By
Last change:
Date: 1 month ago
Size: 541 bytes
 

Contents

Class file image Download
app.controller("initApp",function($scope,$location,$window,initApp){
	$scope.about=false;
	initApp.initilize();
	$scope.connect=false;
	$scope.logout=function(){
		
		$window.sessionStorage.clear();
		location.reload();
	};
});

app.controller("login",function($scope,initApp){
	$scope.connection=function(){
		if(!angular.isUndefined($scope.loginUser)){
			initApp.connection($scope.loginUser);
			$scope.$broadcast('logout');
		}
	};
});

app.directive("registration",function(){
	return {
		templateUrl:'template/registration.html'
	}
});
For more information send a message to info at phpclasses dot org.