umbraco/Umbraco-CMS — pull request #320 by tomfulton (2014-03-14 05:39:30+00:00)
Title: U4-4432 - Expose Mandatory setting in ContentProperty

It might be useful for a PropertyEditor to know whether it's marked as Mandatory or not.

This exposes the "Mandatory" setting in the `ContentPropertyDisplay`, which already exposes the other similar settings (Alias, Description, etc)

A `PropertyEditor` can then determine whether it's required like so:

if ($scope.model.mandatory)