Adjusted drupalgap_module_invoke_all so you can pass arguments to it, then it will pass along the arguments to the hook you are invoking. Added hook_form_alter to drupalgap forms api.