ng-if with boolean constant
Description
You can use ng-if with boolean constant.
Example
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js"></script>
</head><!-- www .j ava2 s . c o m-->
<body ng-app>
<div ng-if="false">text</div>
<div ng-show="false">text2</div>
<div ng-if="true">text</div>
<div ng-show="true">text2</div>
</body>
</html>