Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const shoppingCart = {

},
template: `

`
};

Expand Down
7 changes: 7 additions & 0 deletions client/app/widgets/menubar/menubar.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ const rowdyMenuBar = {
bindings: {},
controller: function() {
let ctrl = this;

ctrl.payNow = function() {
console.log('BUY!');
}

ctrl.menuButtons = [
{
name: 'Kombucha',
Expand Down Expand Up @@ -56,6 +61,8 @@ const rowdyMenuBar = {


<a ui-sref="app.store" ng-click="className=''">Continue shopping</a>
<br/>
<button ng-click='$ctrl.payNow()'>Buy Now</button>
</div>
</nav>
`
Expand Down
1 change: 1 addition & 0 deletions server/instagram.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@