Skip to content

Instantly share code, notes, and snippets.

@kamikaz1k
Created July 23, 2016 15:38
Show Gist options
  • Save kamikaz1k/592bf1f35102078c007541c2df9582bc to your computer and use it in GitHub Desktop.
Save kamikaz1k/592bf1f35102078c007541c2df9582bc to your computer and use it in GitHub Desktop.
Phone Number component html ngif
<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