Angular ng-disabled with function Try this syntax: ng-disabled="prova()" Example: http://jsfiddle.net/3eqz2/2/