12 lines
311 B
JavaScript
12 lines
311 B
JavaScript
var HomeController, lunchControllers;
|
|
|
|
lunchControllers = angular.module('lunchControllers');
|
|
|
|
lunchControllers.controller('HomeCtrl', [
|
|
'$scope', '$location', HomeController = function($scope, $location) {
|
|
return $scope.createRun = function() {
|
|
return $location.path('/run/create');
|
|
};
|
|
}
|
|
]);
|