title: Angular NG-Model not setting
body: <p>I am trying to set the NG-Model on an input box (within a form if that matters) but it doesn't seem like it ever gets set on $scope. Everytime I set a breakpoint on the if statement in the controller 'lpScan' is always blank. I've tried to display the {{lpScan}} on screen and it also never seems like it sets there. Anybody have any ideas on why that might be?</p>
  
  <p>Here is the small piece of controller code:</p>
  
  <pre><code>        $scope.submitLP = function () {
  
          $scope.lpScan = "";
  
          if (!$scope.checkInForm.$valid) {
              $scope.formValidate = 1;
              return;
          }
  
  
          if ($scope.scanRequired &amp;&amp; $scope.lpScan !== $scope.lp.LPNumber) {
              FoundationApi.publish('load-notification',
                  {
                      title: 'Invalid LP',
                      content: 'Must scan current LP to receive it.',
                      autoclose: '4000'
                  });
          }
  </code></pre>
  
  <p>and here is the html</p>
  
  <pre><code>&lt;div class="full-block"&gt;
          &lt;form name="checkInForm"&gt;
              &lt;div class="center data-item"&gt;
                  &lt;div class="button" ng-click="reprintLP()"&gt;Reprint LP&lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="data-item" ng-if="scanRequired &amp;&amp; !lp.CheckedIn"
              &lt;/div&gt;
              &lt;div class="data-label-narrow"&gt;Scan LP:&lt;/div&gt;
              &lt;div class="data-wide"&gt;&lt;input id="assignLP" autocomplete="off" type="tel"
                                            ng-keypress="processKeystroke(event)"
                                            ng-model="lpScan" placeholder="Scan LP" name="LPNumber"
                                            required ng-pattern="/^\d+$/" ng-minlength="20" ng-maxlength="20"
                                            ng-trim="true"/&gt;
                  &lt;div class="data-error"
                       ng-if="(checkInForm.LPNumber.$dirty || formValidate === 1) &amp;&amp; checkInForm.LPNumber.$invalid"&gt;
                      LPNumber must be 20 digits
                  &lt;/div&gt;
              &lt;/div&gt;
      &lt;/div&gt;
      &lt;/form&gt;
  </code></pre>