angular reformatting