title: ng-init with words in AngularJS
body: <p>I am trying to set if the new item being created is a service or a product. I want by default for product to be selected. </p>
  
  <pre><code>&lt;div ng-init="pr.type=Product"&gt;
    &lt;div class="form-group"&gt;
      &lt;label class="radio-inline"&gt;
        &lt;input type="radio" ng-model="pr.type" id="productType" value="Product"&gt; Product
      &lt;/label&gt;
      &lt;label class="radio-inline"&gt;
        &lt;input type="radio" ng-model="pr.type" id="serviceType" value="Service"&gt; Service
      &lt;/label&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>If I change the pr.type to be numerical as in 1 for product and 2 for service it works. But that isn't what I want. </p>
  
  <p>Because my field placeholders change as the selected type changes..</p>
  
  <pre><code>&lt;div class="row"&gt;
    &lt;div class="col-sm-6"&gt;
      &lt;div class="form-group"&gt;
        &lt;input type="text" ng-model="pr.upc" class="form-control" placeholder="{{pr.type}} Number"/&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col-sm-6"&gt;
      &lt;div class="form-group"&gt;
        &lt;input type="text" ng-model="pr.name" class="form-control" placeholder="{{pr.type}} Name"/&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Does ng-init not work with words? I would think it wouldn't matter. What am I doing wrong?</p>