title: Regex to validate that first letter of every word is capital in angular js
body: <p>I am using angularjs. I want to use validation for my name field. I am a beginner in regex expressions.
  I want that the first letter of every word should be capital. 
  For E.g Naveen Kumar should be valid
  and Naveen kumar is invalid.</p>
  
  <p>I am using ng-pattern to validate the name field. What regex expression should i use? Appreciate your help.</p>