Pretty good looking homepage

This commit is contained in:
Ben Ramey
2014-04-07 21:40:35 -05:00
parent 4da312566e
commit 29206122aa
6 changed files with 42 additions and 22 deletions

View File

@@ -1,5 +1,7 @@
lunchControllers = angular.module 'lunchControllers'
lunchControllers.controller 'HomeCtrl', ['$scope',
HomeController = ($scope) ->
lunchControllers.controller 'HomeCtrl', ['$scope', '$location',
HomeController = ($scope,$location) ->
$scope.createRun = () ->
$location.path '/run/create'
]