gen/writers/angular.go
func mandatory(a gen.Action, param string) bool {
	for _, p := range a.Params {
		if p.Name == param {
			return p.Mandatory
		}
	}
	panic("praxisgen bug: Unknown param " + param + " for action " + a.Name)
}
func mandatory(a gen.Action, param string) bool {
	for _, p := range a.Params {
		if p.Name == param {
			return p.Mandatory
		}
	}
	panic("praxisgen bug: Unknown param " + param + " for action " + a.Name)
}
// Returns true if parameter with given name is mandatory