@register.simple_tag(name='<STR_LIT>', takes_context=True)<EOL>def djng_current_rmi(context):
return mark_safe(json.dumps(get_current_remote_methods(context.get('<STR_LIT>'))))<EOL>
Returns a dictionary of all methods for the current View of this request, marked with the
@allow_remote_invocation decorator. The return string can be used directly to initialize
the AngularJS provider, such as ``djangoRMIProvider.configure({­% djng_current_rmi %­});``