wp.template() Not a function

Ah, I get it. When you enqueue your admin script, add ‘wp-util’ as a dependancy.

    wp_enqueue_script( 'script_handle', plugin_dir_url( __FILE__ ) . 'script.js', array( 'jquery', 'wp-util' ), '1.0', true );

error code: 523