I have ng-click="Change();"
Function Change() calls AJAX function that returns param: {'init' : 'off/on'}
How I can cnange image src if init == 'off'.
Simply to check by condition if?
I have ng-click="Change();"
Function Change() calls AJAX function that returns param: {'init' : 'off/on'}
How I can cnange image src if init == 'off'.
Simply to check by condition if?