I'll take care of the topic list service next week.



On Thu, Jul 18, 2013 at 2:35 PM, Éric Lemoine <notifications@github.com>wrote:

> In src/components/topic/TopicDirective.js:
>
> > @@ -0,0 +1,30 @@
> > +(function() {
> > +  goog.provide('ga_topic_directive');
> > +
> > +  var module = angular.module('ga_topic_directive', [
> > +    'ga_permalink'
> > +  ]);
> > +
> > +  module.directive('gaTopicSelector',
> > +      ['gaPermalink', function(gaPermalink) {
> > +        return {
> > +          restrict: 'A',
> > +          replace: true,
>
> Our widget directives should all have an isolated scope. In this case it
> should be:
>
> scope: {
>   options: '=gaTopicSelectorOptions
> },
>
> for the directive to be passed the "topics" URL from the controller.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/geoadmin/mf-geoadmin3/pull/138/files#r5266423>
> .
>