Master with Details Form serialization using angular's models