mirror of
https://github.com/RussellChamp/Grimoire.git
synced 2026-10-28 00:22:32 +00:00
first commit
This commit is contained in:
commit
b3d57f0c05
7 files changed
+112
No files matched your search
@@ -0,0 +1,19 @@
|
||||
(function (angular) {
|
||||
'use strict';
|
||||
|
||||
var app = angular.module('grimoire', [
|
||||
'ngRoute',
|
||||
'grimoire.controller',
|
||||
]);
|
||||
|
||||
app.config(['$routeProvider', function($routeProvider) {
|
||||
$routeProvider.when('/grimoire', {
|
||||
templateUrl: 'grimoire.html',
|
||||
controller: 'grimoireController',
|
||||
controllerAs: 'grimoire',
|
||||
}).otherwise({
|
||||
redirectTo: '/grimoire'
|
||||
});
|
||||
}]);
|
||||
|
||||
}(window.angular));
|
||||
Reference in new issue
Block a user