From b6d4941e33d44f31839114d58e038ad27b8f5f5c Mon Sep 17 00:00:00 2001
From: Evan Chiu
Date: Thu, 30 Oct 2014 23:04:33 -0400
Subject: Adding some hardcoded events
---
public/partials/home.html | 4 +++-
public/scripts/controllers.js | 9 +++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
(limited to 'public')
diff --git a/public/partials/home.html b/public/partials/home.html
index 4c90c62..2ac661b 100644
--- a/public/partials/home.html
+++ b/public/partials/home.html
@@ -1,5 +1,7 @@
{{title}}
Events
-
+
+ {{event.name}}
+
New
+Event
diff --git a/public/scripts/controllers.js b/public/scripts/controllers.js
index 048853e..0dccb56 100644
--- a/public/scripts/controllers.js
+++ b/public/scripts/controllers.js
@@ -12,6 +12,15 @@ angular.module('app.controllers', [])
['$scope', '$routeParams', '$http',
function($scope, $routeParams, $http) {
$scope.title='Home'
+ $scope.events = [
+ {
+ 'name': 'Mixed Drinks at Roosters 6pm tomorrow'
+ }, {
+ 'name': 'Wine Flights at Vino X 8pm Tuesday'
+ }, {
+ 'name': 'Craft Beer Tasting at Mad Tree Brewers 6pm Friday'
+ }
+ ]
}])
.controller('newController',
['$scope', '$routeParams', '$http',
--
cgit v1.2.3