title: [[object Object]] appear on textbox in angularjs
body: <p>[object Object] is automatically appeared as value in every textbox in my form. May i know what went wrong? It appears after i inserted the attribute name="searchr" in  tag. Thanks.</p>
  
  <p>in search.htm:</p>
  
  <blockquote>
  <pre><code>&lt;form ng-submit="search()" ng-controller="formcontrol" name="searchr"&gt;
  &lt;input type="search" placeholder="Search here" id="text_search" ng-model="searchr.text" name="text"&gt;
  </code></pre>
  </blockquote>
  
  <p>in controller.js:</p>
  
  <pre><code>.controller('SearchCtrl', function($scope, $http) { }
  </code></pre>