Rename public to www

This commit is contained in:
Ben Ramey
2014-03-22 20:21:21 -05:00
parent f9479b7734
commit 6ddedf901e
31 changed files with 0 additions and 0 deletions

24
www/linker/js/app.js Normal file
View File

@@ -0,0 +1,24 @@
var lunchApp;
lunchApp = angular.module('lunchApp', ['ngRoute', 'lunchControllers', 'lunchServices']);
lunchApp.config([
'$routeProvider', function($routeProvider) {
return $routeProvider.when('/', {
templateUrl: 'templates/home.html',
controller: 'HomeCtrl'
}).when('/run/:id', {
templateUrl: 'templates/run.html',
controller: 'RunCtrl'
}).when('/run/:id/order/:inviteeName', {
templateUrl: 'templates/create-order.html',
controller: 'CreateOrderCtrl'
});
}
]);
lunchApp.config([
'$locationProvider', function($locationProvider) {
return $locationProvider.html5Mode(false).hashPrefix('');
}
]);