Rearrange controllers
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
lunchControllers = angular.module 'lunchControllers'
|
||||
|
||||
lunchControllers.controller 'CreateOrderCtrl', ['$scope','socket','$routeParams', ($scope, socket, $routeParams) ->
|
||||
lunchControllers.controller 'CreateOrderCtrl', ['$scope','socket','$routeParams',
|
||||
CreateOrderController = ($scope, socket, $routeParams) ->
|
||||
$scope.show = false
|
||||
|
||||
socket.get '/run/' + $routeParams['id'],
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
lunchControllers = angular.module 'lunchControllers'
|
||||
|
||||
lunchControllers.controller 'CreateRunCtrl', ['$scope', '$http', '$location', 'socket', ($scope, $http, $location, socket) ->
|
||||
lunchControllers.controller 'CreateRunCtrl', ['$scope', '$http', '$location', 'socket',
|
||||
CreateRunController = ($scope, $http, $location, socket) ->
|
||||
$scope.run =
|
||||
creatorName: 'ben ramey'
|
||||
creatorEmail: 'ben.ramey@gmail.com'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
lunchControllers = angular.module 'lunchControllers'
|
||||
|
||||
lunchControllers.controller 'HomeCtrl', ['$scope', ($scope) ->
|
||||
lunchControllers.controller 'HomeCtrl', ['$scope',
|
||||
HomeController = ($scope) ->
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user