Github user ahgittin commented on a diff in the pull request: https://github.com/apache/brooklyn-ui/pull/108#discussion_r232973583 --- Diff: ui-modules/blueprint-composer/app/components/catalog-saver/catalog-saver.directive.js --- @@ -223,3 +228,7 @@ function templateCache($templateCache) { $templateCache.put(TEMPLATE_URL, template); $templateCache.put(TEMPLATE_MODAL_URL, modalTemplate); } + +var bundlize = (input) => input && input.split(/[^a-zA-Z0-9]+/).filter(x => x).join('-').toLowerCase(); --- End diff -- i didn't like `bundlizeProvider()(textToBundlize)`, but `$filter('bundlize')(text)` is not bad, changed
---