(PCC)::[How-to-use-ng-show,-based-on-a-condition-in-AngularJS]::[angularjs]
<!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> <body> <div ng-app="" ng-init="hour=13"> <p ng-show="hour > 12">I am visible.</p> </div> </body> </html>
I am visible.