Conditional ng-disabled in AngularJS 1.0.7 -


is possible like:

ng-disabled="x >= y" in case y == undefined take z (another value) inside ng-disabled expression in angularjs 1.0.7?

you can use code, surely work

ng-disabled="x >= ( y == undefined ? z : y )" 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

android - CoordinatorLayout, FAB and container layout conflict -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -