func (c *AngularWriter) WriteResource(resource *gen.Resource, w io.Writer) error {
	return c.angularTmpl.Execute(w, resource)
}
func (c *AngularWriter) WriteResource(resource *gen.Resource, w io.Writer) error {
	return c.angularTmpl.Execute(w, resource)
}
// WriteResource writes the code for a resource.