Skip to content

Commit

Permalink
#4 Refactoring naming
Browse files Browse the repository at this point in the history
  • Loading branch information
eysteinbye committed Mar 12, 2014
1 parent 1231752 commit f14750b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ <h1>ShowMe.</h1>
{{user.name}} | <a data-ng-click="logout()">Logout</a>
</span>

<div data-ng-show="user" id="messagesDiv">
<div data-ng-repeat="msg in products"><em>{{msg.name}}</em>: {{msg.desc}}-{{msg.product}}</div>
<div data-ng-show="user">
<div data-ng-repeat="product in products"><em>{{product.name}}</em>: {{product.desc}}-{{product.product}}</div>
</div>

<label>
Expand Down
2 changes: 1 addition & 1 deletion js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function SaveController($scope, angularFire, angularFireAuth) {
if (e.keyCode != 13) return;

$scope.products.push({
name: $scope.user.name,
addedBy: $scope.user.name,
product: $scope.product,
startTime: $scope.startTime,
showId: $scope.showId,
Expand Down

0 comments on commit f14750b

Please sign in to comment.