15 lines
343 B
CoffeeScript
15 lines
343 B
CoffeeScript
lunchApp = angular.module 'lunchApp', [
|
|
'ngRoute',
|
|
'lunchControllers'
|
|
]
|
|
|
|
lunchApp.config ['$routeProvider',
|
|
($routeProvider) ->
|
|
$routeProvider
|
|
.when '/runs',
|
|
templateUrl: 'templates/runs.html',
|
|
controller: 'RunsCtrl'
|
|
.otherwise
|
|
redirectTo: '/runs'
|
|
]
|