Can't access model from view

I’m trying to add Group specified ticket objects feature (https://github.com/zammad/zammad/issues/1262).

I’m trying to access ‘ObjectManagerAttribute’ model from view app/assets/javascripts/app/views/generic/attribute.jst.eco (https://github.com/kaspernetwork/zammad/commit/c071e053619a619950bd34c4195421c9302d6eed):

<% console.log '>>>>>>>>>>>>>>' %>
<% console.log App.Group.all() %>
<% console.log App.ObjectManagerAttribute.all() %>

but console says that it’s not defined, though I can access Group model for example.

How can I access ObjectManagerAttribute from this view?