assets/components/login/login.controller.js
function LoginController($scope, $location, $http) {
    var urlParams = $location.search();

    Object.defineProperties(this, {

      /**
       * The URL of the service to redirect to.
       *
       * @property service
       * @type String
       */
      service: {
        value: urlParams.service,
        writable: true
      }

    });
  }
function LoginController($scope, $location, $http) {
    var urlParams = $location.search();

    Object.defineProperties(this, {

      /**
       * The URL of the service to redirect to.
       *
       * @property service
       * @type String
       */
      service: {
        value: urlParams.service,
        writable: true
      }

    });
  }
function LoginController ( $scope , $location , $http ) { var urlParams = $location . search ( ) ; Object . defineProperties ( this , { /**
       * The URL of the service to redirect to.
       *
       * @property service
       * @type String
       */ service : { value : urlParams . service , writable : true } } ) ; }
Defines controller of the login component.
Defines controller of the login component .