結果 : angular pass function as input parameter