
"use strict";

export default () => ({
    restrict: 'E',
    templateUrl: '/monad/templates/login.html',
    controller: function () {
        this['default'] = !(this.template || this.templateUrl);
    },
    controllerAs: 'login',
    bindToController: true,
    transclude: true,
    scope: {auth: '=', template: '=', templateUrl: '='}
});


@@ -120,21 +120,70 @@
 er: 
-function () %7B
+%5B'Authentication', function (auth) %7B%0A        this.auth = auth;
 %0A   
@@ -248,16 +248,17 @@
 );%0A    %7D
+%5D
 ,%0A    co
@@ -324,24 +324,24 @@
 lude: true,%0A
+
     scope: %7B
@@ -344,19 +344,8 @@
 e: %7B
-auth: '=', 
 temp

use injection