import * as directive from './buttonDirective';

export const name = 'app.components.button';

angular.module(name, [])
    .directive(directive.name, directive.fn);

@@ -5,17 +5,23 @@
 rt * as 
-d
+buttonD
 irective
@@ -134,17 +134,23 @@
 rective(
-d
+buttonD
 irective
@@ -156,17 +156,23 @@
 e.name, 
-d
+buttonD
 irective

Update index.js