diff --git a/client/core/src/radio/radio.js b/client/core/src/radio/radio.js index 77e388927..b23abdfd0 100644 --- a/client/core/src/radio/radio.js +++ b/client/core/src/radio/radio.js @@ -7,12 +7,12 @@ export const NAME = util.getName(_NAME); directive.$inject = [resolveFactory.NAME]; export function directive(resolve) { - return{ + return { restrict: 'E', template: function(_, attrs) { - return resolve.getTemplate(_NAME, attrs); + return resolve.getTemplate(_NAME, attrs); } - } + }; } _module.directive(NAME, directive); diff --git a/client/core/src/radio/radio.mdl.js b/client/core/src/radio/radio.mdl.js index 6c0ccc9f4..135c32538 100644 --- a/client/core/src/radio/radio.mdl.js +++ b/client/core/src/radio/radio.mdl.js @@ -15,7 +15,7 @@ export function factory() { enabled: 'true', className: DEFAULT_CLASS } - } + }; } _module.factory(NAME, factory);