first commit

This commit is contained in:
Mario Colque 2014-03-14 17:38:27 -03:00
commit f2d18e67bf
10 changed files with 140 additions and 0 deletions

24
public/js/config.js Normal file
View 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('!');
});