title: add validation when we enter wrong phone number using intl-tel-input angular 4
body: <p>I am using intl-tel-input angular 4 for validate phone number ,when I added this its showing country code with phone number but if enter wrong phone its not showing error message. For this I am using this code :-</p>
  
  <pre><code>&lt;ngx-intl-tel-input   name="phone" id ="phone" [(value)]="model.phone"  required="required" [preferredCountries]="preferredCountries" &gt;&lt;/ngx-intl-tel-input&gt;
  </code></pre>
  
  <p>this is my html file code and here my component.ts file code :-</p>
  
  <pre><code>  $("#phone").intlTelInput({
       utilsScript: "../../build/js/utils.js"
    });
  </code></pre>
  
  <p>when I am added this it showing error message:-</p>
  
  <pre><code> "core.es5.js:1084 ERROR Error: Uncaught (in promise): TypeError: $(...).intlTelInput is not a function"
  </code></pre>
  
  <p>for this I am tried this code but no luck :-</p>
  
  <pre><code>  https://jsbin.com/yacokiyece/edit?html,css,js,output
  </code></pre>
  
  <p>this is git code which I follow :-
         <a href="https://github.com/webcat12345/ngx-intl-tel-input" rel="nofollow noreferrer">https://github.com/webcat12345/ngx-intl-tel-input</a></p>