I am developing an angular-node.js application where I have a button which when clicked triggers a post request. I am facing a strange issue where this post request is getting called the number of times the button is clicked. For example if I click button for first time - post request is called once, if I click again that is the second time post request executes twice and so on. I am clueless what is wrong with the code , here is the code I have :I am developing an angular-node.js application