From 3dc5190d0d3d392161b2705c874af37e79197179 Mon Sep 17 00:00:00 2001 From: Mike Munroe Date: Fri, 21 Feb 2014 18:29:24 -0500 Subject: [PATCH] add lifts to index and remove some default ui --- app/scripts/controllers/lift.js | 13 +++++++++++++ app/views/index.html | 1 + app/views/partials/main.html | 15 ++++++++------- 3 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 app/scripts/controllers/lift.js diff --git a/app/scripts/controllers/lift.js b/app/scripts/controllers/lift.js new file mode 100644 index 0000000..3dc57d1 --- /dev/null +++ b/app/scripts/controllers/lift.js @@ -0,0 +1,13 @@ +'use strict'; + +angular.module('fitrecordMeanApp') + .controller('LiftCtrl', function ($scope) { + $scope.lifts = [ + {'name': 'Back Squat'}, + {'name': 'Front Squat'}, + {'name': 'Clean'}, + {'name': 'Clean & Jerk'}, + {'name': 'Deadlift'}, + {'name': 'Snatch'} + ]; + }); diff --git a/app/views/index.html b/app/views/index.html index a86369d..709a48c 100644 --- a/app/views/index.html +++ b/app/views/index.html @@ -65,6 +65,7 @@ + diff --git a/app/views/partials/main.html b/app/views/partials/main.html index d29ddfe..3383163 100644 --- a/app/views/partials/main.html +++ b/app/views/partials/main.html @@ -1,12 +1,13 @@
-
-

'Allo, 'Allo {{ currentUser.name }}!

-

- I'm Yeoman
- Always a pleasure scaffolding your apps. -

-

Splendid!

+

Hello {{ currentUser.name }}!

+ +
+
    +
  • + {{lift.name}} +
  • +