# \[Solved\] Ng-click hits twice in controller

**URL:** <https://forum.ionicframework.com/t/solved-ng-click-hits-twice-in-controller/38144>\
**Category:** ionic-v1\
**Created:** [November 30, 2015, 6:26am UTC](https://forum.ionicframework.com/t/solved-ng-click-hits-twice-in-controller/38144 "2015-11-30T06:26:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarshilpakar](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@amarshilpakar](https://forum.ionicframework.com/u/amarshilpakar)\
**Post date:** [November 30, 2015, 6:26am UTC](https://forum.ionicframework.com/t/solved-ng-click-hits-twice-in-controller/38144/1 "2015-11-30T06:26:57Z")

</div>

When button is clicked once then it hits twice in controller in ionic. What is the fault???  
Really getting trouble…

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [November 30, 2015, 6:48am UTC](https://forum.ionicframework.com/t/solved-ng-click-hits-twice-in-controller/38144/2 "2015-11-30T06:48:40Z")

</div>

maybe your are using your controller twice… ?  
Or you added the click-function on a parent element, too?

---

<div class="post-metadata">

**Author:** ![amarshilpakar](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@amarshilpakar](https://forum.ionicframework.com/u/amarshilpakar)\
**Post date:** [November 30, 2015, 7:10am UTC](https://forum.ionicframework.com/t/solved-ng-click-hits-twice-in-controller/38144/3 "2015-11-30T07:10:51Z")

</div>

I have just solve this issue…  
before hits twice in controller…  
 Save   
after hit once…  
 Save
