Filter NOT equals in AngularJS
<p>I have a array of objects, in client side.
The object in array look like this:</p>

<pre><code>{
    code: 0,
    short_name: 'a',
    type: 1
}
</code></pre>

<p>I try to filter this array to 2 arrays:</p>

<ol>
<li>With type === 1</li>
<li>With type !== 1</li>
</ol>

<p>I did this:</p>

<pre><code>$scope.array1 = $filter('filter')(data, {type: 1}, true);
$scope.array1 = $filter('filter')(data, {type: !1});
</code></pre>

<p>But the not-equal didn't work... what can I do?</p>

<p>Thank you!</p>