Created
July 23, 2016 15:38
-
-
Save kamikaz1k/592bf1f35102078c007541c2df9582bc to your computer and use it in GitHub Desktop.
Phone Number component html ngif
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 ng-form="phoneNumberForm"> | |
<!-- Step 1. --> | |
<span ng-if="countryCode === 'CA' || countryCode === 'US'"> | |
... | |
</span> | |
<span ng-if="countryCode !== 'CA' && countryCode !== 'US'"> | |
... | |
</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment