first commit
This commit is contained in:
parent
eaf975266a
commit
f2d18e67bf
10 changed files with 140 additions and 0 deletions
5
public/js/app.js
Normal file
5
public/js/app.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('cosign',[
|
||||
'ngRoute',
|
||||
]);
|
||||
24
public/js/config.js
Normal file
24
public/js/config.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
'use strict';
|
||||
|
||||
//Setting up route
|
||||
angular
|
||||
.module('cosign')
|
||||
.config(function($routeProvider) {
|
||||
$routeProvider.
|
||||
when('signin', {
|
||||
templateUrl: '/views/signin.html',
|
||||
title: 'Signin'
|
||||
})
|
||||
.otherwise({
|
||||
templateUrl: '/views/404.html',
|
||||
title: 'Error'
|
||||
});
|
||||
});
|
||||
|
||||
//Setting HTML5 Location Mode
|
||||
angular
|
||||
.module('insight')
|
||||
.config(function($locationProvider) {
|
||||
$locationProvider.html5Mode(true);
|
||||
$locationProvider.hashPrefix('!');
|
||||
});
|
||||
1
public/js/directives.js
Normal file
1
public/js/directives.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
'use strict';
|
||||
1
public/js/filters.js
Normal file
1
public/js/filters.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
'use strict';
|
||||
6
public/js/init.js
Normal file
6
public/js/init.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.element(document).ready(function() {
|
||||
// Init the app
|
||||
// angular.bootstrap(document, ['cosign']);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue