Server IP : 172.16.15.8 / Your IP : 3.144.253.195 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/tasimmons/www/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
"use strict"; angular.module('app', ['ngRoute']) .config(['$routeProvider', function($routeProvider, $http, $q) { $routeProvider .when('/Projects/:dir*', { templateUrl: function(urlattr) { return 'projects/' + (urlattr.dir).toLowerCase(); } }) .when('/:dir*', { templateUrl: function(urlattr) { return (urlattr.dir).toLowerCase() + '/index.html'; } }) .otherwise({ redirectTo: '/Home' }); }]) .controller('app.index', ['$rootScope', '$scope', '$location', function($rootScope, $scope, $location) { $('nav a').each(function(i, el) { if ('#'+$location.path() == $(el).attr('href')) { $scope.nav = i + 1; return false; } }); }])