{% trans_default_domain "victoire" %}
<!DOCTYPE html>
<html ng-app="ngApp">
    <head>
        {% block meta %}
            {% include 'VictoireSeoBundle::_meta.html.twig' %}
        {% endblock meta %}
        {% block head_script %}{% endblock %}
        {% block head_style %}{% endblock %}
        <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
    </head>
    <body {% block container_attributes %}{% endblock container_attributes %} class="{% block container_class %}{% endblock container_class %}"  ng-controller="PageController as pageCtrl" ng-init="init()">
        {% block body %}{% endblock %}
        {% block foot_script %}{% endblock %}
        {% block foot_script_additional %}{% endblock %}
        {% block javascript %}{% endblock %}
        {% if is_granted('ROLE_VICTOIRE') %}
            {% include 'VictoireCoreBundle::_userVoice.html.twig' %}
        {% endif %}
    </body>
</html>

{% trans_default_domain "victoire" %}
<!DOCTYPE html>
<html ng-app="ngApp">
    <head>
        {% block meta %}
            {% include 'VictoireSeoBundle::_meta.html.twig' %}
        {% endblock meta %}
        {% block head_script %}{% endblock %}
        {% block head_style %}{% endblock %}
        <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
    </head>
    <body {% block container_attributes %}{% endblock container_attributes %} class="{% block container_class %}{% endblock container_class %}"  ng-controller="PageController as pageCtrl" ng-init="init({% if view is defined %}'{{ view.cssHash }}'{% endif %})">
        {{ cms_page_css() }}
        {% block body %}{% endblock %}
        {% block foot_script %}{% endblock %}
        {% block foot_script_additional %}{% endblock %}
        {% block javascript %}{% endblock %}
        {% if is_granted('ROLE_VICTOIRE') %}
            {% include 'VictoireCoreBundle::_userVoice.html.twig' %}
        {% endif %}
    </body>
</html>

Modify base layout to add twig extension for view css and pass currentView hash to Angular PageCtl init
Modify base layout to add twig extension for view css and pass currentView hash to Angular PageCtl init
