reformat the whole frontend code
install angular-lodash