In my application I\'ve binded several elements with ng-click directive like below
Do like this:
xyz
when the value of IsClickEnable is true then the function will be called on the button click then the function 'DoSomethingElse()' will be called else it will not get called