when I do $state.go('gift.success') from another child controller inside GiftCtrl (<div ng-if="thirdStep" class="wrapper my-fade-animation" ng-include="'app/components/gift/step3/gift-payment.html'" ng-controller="GiftPaymentCtrl as paymentVm"></div>), when GiftSuccessCtrl is called, GiftPaymentCtrl is called again. Someone know why?
Thank you
Hi all.
I have something like this:
when I do $state.go('gift.success') from another child controller inside GiftCtrl
(<div ng-if="thirdStep" class="wrapper my-fade-animation" ng-include="'app/components/gift/step3/gift-payment.html'" ng-controller="GiftPaymentCtrl as paymentVm"></div>),
when GiftSuccessCtrl is called, GiftPaymentCtrl is called again. Someone know why? Thank you