PHP Classes

File: js/index.js

Recommend this page to a friend!
  Classes of Boss Ibrahim Mussa  >  PHP School Management System with Student Payroll  >  js/index.js  >  Download  
File: js/index.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: 830 bytes
 

Contents

Class file image Download
var app = angular.module("myApp", ["ngRoute"]);

app.config(function($routeProvider) {
    $routeProvider
    .when("/", {
        templateUrl : "template/home.html",
        controller:"homeCtrl"
    })
    .when("/finance", {
        templateUrl : "template/finance.html",
        controller:"financeCtrl"
    })    
    .when("/listStudent", {
        templateUrl : "template/listStudent.html",
        controller:"studentListCtrl"
    })
    .when("/config", {
        templateUrl : "template/config.html"
    })
    .when("/login", {
        templateUrl : "template/login.html"
    });
});

function myFunction() {
    var x = document.getElementById("Demo");
    if (x.className.indexOf("w3-show") == -1) {  
        x.className += " w3-show";
    } else { 
        x.className = x.className.replace(" w3-show", "");
    }
}
For more information send a message to info at phpclasses dot org.