The other answers didn't work for me and angular-filter doesn't have any specific abilities for this case, but the following worked in my Angular app. No custom filter needed.
arr = ["", "foo", "bar"];arr.filter(Boolean);
Browser compatability: http://kangax.github.io/compat-table/es5/#Array.prototype.filter