Created
September 26, 2019 10:32
-
-
Save phvaillant/9cd03150f8691e798a4d2bf9960d0470 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row" ng-init="show=false"> | |
<div class="col-sm-4"> | |
<div ng-click="show=!show"> | |
Display/Hide something on click | |
</div> | |
</div> | |
<div class="col-sm-8" ng-if="show==true"> | |
<p> | |
{{1990-16-01}}: this is a non-formatted date. | |
</p> | |
<p> | |
{{1990-16-01 | date}}: this is a formatted date with the date filter. | |
</p> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment