mirror of
https://github.com/RussellChamp/Grimoire.git
synced 2026-10-28 00:22:32 +00:00
created a working webpage layout
This commit is contained in:
1 parent
b3d57f0c05
commit
03d1725a12
5 files changed
+127
-9
No files matched your search
@@ -2,10 +2,13 @@
|
||||
'use strict';
|
||||
|
||||
var app = angular.module('grimoire', [
|
||||
'ngRoute',
|
||||
//'ngRoute',
|
||||
'ui.bootstrap',
|
||||
'ui.slimscroll',
|
||||
'grimoire.controller',
|
||||
]);
|
||||
|
||||
/*
|
||||
app.config(['$routeProvider', function($routeProvider) {
|
||||
$routeProvider.when('/grimoire', {
|
||||
templateUrl: 'grimoire.html',
|
||||
@@ -14,6 +17,10 @@
|
||||
}).otherwise({
|
||||
redirectTo: '/grimoire'
|
||||
});
|
||||
}]).config(['$httpProvider', function($httpProvider) {
|
||||
$httpProvider.defaults.useXDomain = true;
|
||||
delete $httpProvider.defaults.headers.common['X-Requested-With'];
|
||||
}]);
|
||||
*/
|
||||
|
||||
}(window.angular));
|
||||
Reference in new issue
Block a user