going back to angular routing

This commit is contained in:
Ben Ramey
2014-04-08 20:55:36 -05:00
parent ce935f6a1e
commit 11963bfb21
13 changed files with 52 additions and 41 deletions

View File

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