Remove old eval statements from drupalgap_render_region() and pass along the region JSON object to the hook_block_view() invocation.
Remove old commented out line of code.
Update hook_block_view() to include the region as the second argument.
#257. Change menu_block_view() to extract the data-role from the incoming region, and pass it along to menu_block_view_pageshow(). Change menu_block_view_pageshow() look for entity place holders in the menu links paths, if one is present, it loads up the entity via an async call, then passes along the entity to drupalgap_menu_access(), all this is done by utilizing a success callback to inject the HTML back into the empty container, regardless of the presence of an entity or not. Some nice spaghetti code, sheesh.
#257. Add drupalgap_path_has_entity_arg(). Change drupalgap_menu_access() to expect an optional entity in the third argument, and then use that entity if it is present when calling an access_callback for a menu link item. Hacked up drupalgap_prepare_argument_entities() because it is most likely going to be deprecated soon.