Add "require" attribute for widgets, and "provide" attribute for dashboard directive. Only widgets with no requirements at all or those whose requirements are met will appear in widget-add modal. Variables provided with "provide" will be injected into widget controller.