16 lines
398 B
CoffeeScript
16 lines
398 B
CoffeeScript
lunchApp = angular.module 'lunchApp', [
|
|
'ngRoute',
|
|
'lunchControllers'
|
|
]
|
|
|
|
lunchApp.config ['$routeProvider',
|
|
($routeProvider) ->
|
|
$routeProvider
|
|
.when '/',
|
|
templateUrl: 'templates/home.html',
|
|
controller: 'HomeCtrl'
|
|
.when '/runs',
|
|
templateUrl: 'templates/runs.html',
|
|
controller: 'RunsCtrl'
|
|
]
|