This is the code, it's using the DOM Selector in the Ionic & Angular Framework. I'm unsure why the console.log
of "placing order" does not display when the button is clicked. I tried to use many alternatives like ngClick
, ng-click
, ngclick
or changing the syntax of the function to this.placeOrder()
, placeOrder = () => {}
, etc but all did not work.
Thank you in advance!