public function partial($template, array $data = array())
    {
        $app = App::getInstance();
        $Clazz = $app->config('bono.partial.view');

        $view = new $Clazz();
        $t = $this->resolve($template, $view);

        if (empty($t)) {
            throw new \Exception('Cant resolve template "'.$template.'"');
        }
        $view->replace($data);

        return $view->fetch($t);
    }