JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0-rc.2/angular.js"></script>
<div ng-app>
<div ng-init="val1=[]; val2='[]'; val3=['']; val4='[]...'">
<div>1: empty array is neither truthy nor falsy</div>
<div ng-if="val1">'[]' is truthy</div>
<div ng-if="!val1">'[]' is falsy</div>
<div>nothing above. Possibly an issue in ngIf and ngShow</div>
<br>
<div>2: string of "[]" should be truthy</div>
<div ng-if="val2">"[]" is truthy</div>
<div ng-if="!val2">"[]" is falsy</div>
<div>here's a bug: nothing above</div>
<br>
<div>3: array with an empty string should be truthy</div>
<div ng-if="val3">"['']" is truthy</div>
<div ng-if="!val3">"['']" is falsy</div>
<br>
<div>4: any string with "[]" should be thruthy</div>
<div ng-if="val4">"[]..." is truthy</div>
<div ng-if="!val4">"[]..." is falsy</div>
</div>
</div>