Good to know. It confirmns what's written in the doc [1].

This also means that we don't need a set map function on the directive
controller. Nice.
Am 19.07.2013 18:20 schrieb "Éric Lemoine" <notifications@github.com>:

> In src/components/importkml/ImportKmlDirective.js:
>
> > +         $scope.reset = function() {
> > +           $scope.cancel();
> > +           $scope.clearUserOutput();
> > +           $scope.file = null;
> > +           $scope.fileUrl = null;
> > +           $scope.fileContent = null;
> > +         };
> > +  }]);
> > +
> > +  module.directive('gaImportKml',
> > +      ['$http', '$log', '$translate', 'gaBrowserSniffer',
> > +       function($http, $log, $translate, gaBrowserSniffer) {
> > +         return {
> > +           retsrict: 'A',
> > +           templateUrl: 'components/importkml/partials/importkml.html',
> > +           controller: 'GaImportKmlDirectiveController',
>
> Cool. Thanks for confirming.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/geoadmin/mf-geoadmin3/pull/141/files#r5296341>
> .
>