html5Mode

pull/12/head
Szekeres Bálint 2018-02-16 09:09:29 +01:00
parent fe1dbff2b5
commit c3bd38b58f
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,11 @@
angular angular
.module('NginxConfigIoApp', ['ngclipboard', '720kb.tooltips']) .module('NginxConfigIoApp', ['ngclipboard', '720kb.tooltips'])
.config(function NginxCongigIoConfig($locationProvider) {
$locationProvider
.html5Mode(true)
.hashPrefix('!');
})
.controller('NginxConfigIoController', function NginxConfigIoController($scope, $location, $timeout) { .controller('NginxConfigIoController', function NginxConfigIoController($scope, $location, $timeout) {
/////////////////////// ///////////////////////
// PRIVATE VARIABLES // // PRIVATE VARIABLES //

View File

@ -1,6 +1,7 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<base href="/">
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Quicksand:400,700"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Quicksand:400,700">