Angular Loop Through Object Js Methods