問題:
I was looking how filters works in Angularjs and I saw that we need to send 2 sets of parentheses.我正在研究過濾器在 Angularjs 中的工作原理,我發現我們需要發送 2 組括號。
$filter('number')(number[, fractionSize])
What does it means and how do we handle it with JavaScript?它是什麼意思,我們如何用 JavaScript 處理它?
解決方案:
參考一: https://en.stackoom.com/question/1EVch參考二: https://stackoom.com/question/1EVch