title: angular.isDefined() vs obj.hasOwnProperty()
body: <p>I have an object that may or may not have a status. When using the angular.js framework which would be more appropriate. What are the advantages and disadvantages of both.</p>
  
  <pre><code>var checkStatus = function(item){
      if(angular.isDefined(item.status){
          //do something
      }
      //VS.
      if(item.hasOwnProperty('status')){
         //do something
      }
  }
  checkStatus(item);
  </code></pre>