title: Angularjs Filter not working when the property is undefined
body: <p>I have the following setup</p>
  
  <pre><code>  $scope.array = 
      [
        {propertyA: "test", 
         propertyB: {
                     propertyC: [true, true, false]
                    }
        },
        {propertyA: "test2"},
        {propertyA: "test3"}
      ]
  </code></pre>
  
  <p>and then</p>
  
  <pre><code>&lt;div ng-repeat="item in array| filter :{propertyB: ''} :true"&gt;
       {{item.propertyA}}
  &lt;/div&gt;
  </code></pre>
  
  <p>So the problem is:</p>
  
  <ol>
  <li><p>this setup does not display anything</p></li>
  <li><p>if i change to <code>|filter :{propertyB: '!!'} :true</code> it does not display anything</p></li>
  <li><p>if i change to <code>|filter :{propertyB: undefined} :true</code> it displays everything</p></li>
  </ol>
  
  <p>I can`t figure it out.</p>
  
  <p>Target: I want to display the items which have the <code>propertyB</code> undefined and in other case the other way around.</p>
  
  <p>Edit 1: If I iterate over the array with <code>angular.equals(item.propertyB, undefined)</code> I get <code>false, true, true</code></p>
  
  <p>Edit 2: <a href="https://jsfiddle.net/20vbr950/7/" rel="nofollow">jsfiddle UPDATED</a></p>
  
  <p>Edit 3: I have updated the question </p>