shared/OptionsDisabled: jQuery syntax rewritten to angular