function clearApi() {
              for(var key in $scope.api) {
                  if($scope.api[key] === '') {
                      delete($scope.api[key])
                  }
              }
          }
This file contains all necessary Angular controller definitions for 'frontend.login-history' module.

Note that this file should only contain controllers and nothing else.