Sometimes i'm struggling to understand the angular scope, and its inheritance, and today seems to be one of those days...
Basically i just want to disable a button when its pressed, im using ng-click and ng-disable for this. Is there some other method that needs to be used for this kind of function? The ng-docs uses a value that is bound to the ng-disabled, but in my case i would want to simply use one element only.
Heres the Plunkr