(function(module) {
    module.component('mcLogin', {
        templateUrl: 'components/login/mc-login.html',
        controller: 'MCLoginController'
    });

    module.controller('MCLoginController', MCLoginController);
    MCLoginController.$inject = ["$state", "User", "toastr", "mcapi", "Restangular"];
    function MCLoginController($state, User, toastr, mcapi, Restangular) {
        var ctrl = this;

        ctrl.message = "MCLoginController";
        ctrl.userLogin = "";
        ctrl.password = "";
        ctrl.cancel = cancel;
        ctrl.login = login;

        ////////////////////

        function login() {
            console.log('login');
            mcapi('/user/%/apikey', ctrl.userLogin, ctrl.password)
                .success(function (u) {
                    User.setAuthenticated(true, u);
                    Restangular.setDefaultRequestParams({apikey: User.apikey()});
                    $state.go('projects');
                })
                .error(function (reason) {
                    ctrl.message = "Incorrect Password/Username!";
                    toastr.error(reason.error, 'Error', {
                        closeButton: true
                    });
                }).put({password: ctrl.password});
        }

        function cancel() {
            ctrl.userLogin = "";
            ctrl.password = "";
        }
    }
}(angular.module('materialscommons')));
@@ -622,42 +622,8 @@
 ) %7B%0A
-            console.log('login');%0A
     
@@ -1365,8 +1365,9 @@
 ons')));
+%0A

Remove console statement.