We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are using ng-show as a nested IF structure. Can we improve this code?
<div ng-show="deviceOrientation"> <div ng-show="deviceChoice"> <!-- Display selected device here --> <img style="-webkit-transform: scale({{deviceSize}});" ng-show="deviceChoice" src="images/{{ deviceOrientation | lowercase }}/{{ deviceChoice | removewhitespace | lowercase }}.png"> <!-- Display label here --> <p><span ng-show="deviceChoice">{{ deviceChoice }} - {{ deviceOrientation }}</span></p> </div> </div>
The text was updated successfully, but these errors were encountered:
Not relevant anymore but I guess ng-show="deviceOrientation && deviceChoice"
Sorry, something went wrong.
No branches or pull requests
We are using ng-show as a nested IF structure. Can we improve this code?
The text was updated successfully, but these errors were encountered: