Angular in combination with JSF

When using Angular in combination with JSF the id's of forms leads to errors in Angular. Angular can't handle the default ':' in the id. This is fixed by adding the following to web.xml

<context-param>
    <description>
        Angular does not like the ':' in the id. So change it to '_'.
    </description>
    <param-name>javax.faces.SEPARATOR_CHAR</param-name>
    <param-value>_</param-value>
</context-param>