之後就可在其他地方使用這個filter的功能. var data =$filter('keyToVal')(scope,array,key,value);. 以下為範例. HTML; JS.
確定! 回上一頁