going back to angular routing
This commit is contained in:
7
assets/linker/js/controllers/home-controller.coffee
Normal file
7
assets/linker/js/controllers/home-controller.coffee
Normal file
@@ -0,0 +1,7 @@
|
||||
lunchControllers = angular.module 'lunchControllers'
|
||||
|
||||
lunchControllers.controller 'HomeCtrl', ['$scope', '$location',
|
||||
HomeController = ($scope,$location) ->
|
||||
$scope.createRun = () ->
|
||||
$location.path '/run/create'
|
||||
]
|
||||
Reference in New Issue
Block a user