Update layer-chooser-directives.js