[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] brooklyn-ui pull request #113: Fix template overrides - decorate `script` di...

Github user tbouron commented on a diff in the pull request:
    --- Diff: ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.directive.js ---
    @@ -79,7 +82,7 @@ export function specEditorDirective($rootScope, $templateCache, $injector, $sani
                 model: '='
             controller: ['$scope', '$element', controller],
    -        template: template,
    +        templateUrl: TEMPLATE_URL,
    --- End diff --
    While do do this, could you change it to match what the other directive do?
    So it can be overridden directly from the attribute `template-url` on the directive itself.