title: how to validate my password in combination of lettters numaric and special class in angularjs?
body: <p>am using angular validation in my login form.  How to set password field validation in the combination of special character, letters, and numbers. so anyone can help me how to set my password?</p>
  
  <p>my HTML code is,       </p>
  
  <pre><code>        &lt;div ng-app="loginApp"&gt;
           &lt;div ng-controller="loginController"&gt;
            &lt;div class="container"&gt;
                 &lt;form name="loginForm" ng-submit="submit()"&gt;
                    &lt;h3&gt;Log In&lt;/h3&gt;
                    &lt;div class="row"&gt;
                    &lt;div class="form-group col-md-3"&gt;
                        &lt;label&gt;User Name&lt;/label&gt;
                    &lt;input type="text" class="form-control" 
                    id="username" ng-model="obj.username"&gt;
                    &lt;/div&gt;
                  &lt;/div&gt;
                    &lt;div class="row"&gt;
                    &lt;div class="form-group col-md-3"&gt;
                          &lt;label&gt;Password&lt;/label&gt;
                          &lt;input type="password" class="form-control" 
            id="pass" ng-model="obj.password"&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="row"&gt;
                      &lt;div class="form-group col-md-2"&gt;
                       &lt;button type="submit" class="btn btn-primary"&gt;
                        Log In&lt;/button&gt; 
                      &lt;/div&gt;
                      &lt;/form&gt;
              &lt;/form&gt;
         &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>my controller is,</p>
  
  <pre><code>    angular.module('loginApp',[])
      .controller('loginController',function($scope){
      $scope.obj={};
  
      $scope.submit=function(){
          alert('submit');
          console.log( $scope.obj);
      }
  
      })
  </code></pre>