The following code shows how to use
ng-show
with hardcoded value.
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js"></script>
</head><!-- w w w. ja v a2 s. co m-->
<body>
<div ng-app>
<p ng-show="true">This paragraph is visible.</p>
<p ng-show="false">This paragraph is hidden.</p>
</div>
</body>
</html>
The code above is rendered as follows: