Angular - Filter to remove blank strings from array

后端 未结 4 537
甜味超标
甜味超标 2021-01-16 01:46

I have an object of arrays... The array can contain blanks, how can i create an ANgular filter to remove the blanks to determine the length of the array?

$sc         


        
4条回答
  •  误落风尘
    2021-01-16 02:35

    Use this link https://github.com/a8m/angular-filter

    It gives you a number of ways to filter whatever you need in any format.It also has examples along with each filter.

提交回复
热议问题