!!!
%html{:lang => "en"}
  %head{"data-hook" => "admin_inside_head"}
    = render :partial => 'spree/admin/shared/head'

  %body.admin
    - if content_for?(:main_ng_app_name)
      - if content_for?(:main_ng_ctrl_name)
        %div{ "ng-app" => yield(:main_ng_app_name).strip.html_safe, "ng-controller" => yield(:main_ng_ctrl_name).strip.html_safe }
          = render :partial => 'spree/layouts/admin_body'
      - else
        %div{ "ng-app" => yield(:main_ng_app_name).strip.html_safe }
          = render :partial => 'spree/layouts/admin_body'
    - else
      = render :partial => 'spree/layouts/admin_body'
