Steven Moreno has a varied work experience, starting in 2009 as an A/V Technician/Banquet Server at the California Center for the Arts, Escondido. In 2010, they worked as a Vendor for United Plant Growers Inc. From 2011 to 2013, they worked at Twinkle Tub Dry Cleaner as an Office Assistant/Driver. From 2013 to 2020, they worked at MadCap Software, Inc., holding various positions such as Lead Technical Support Engineer, Senior Technical Support Engineer, Technical Support Engineer, and Technical Support Analyst. Since 2020, they have been working as Manager of Customer Success and a Customer Success Manager/Implementation Specialist at Axure Software Solutions.
import { Component, OnInit } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Router } from '@angular/router';
import { environment } from 'src/environments/environment';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css']
})
export class LoginComponent implements OnInit {
username: string;
password: string;
constructor(private http: HttpClient, private router: Router) { }
ngOnInit() {
}
login() {
this.http.post(environment.apiBaseUrl + 'login', {
username: this.username,
password: this.password
}).subscribe((response: any) => {
console.log(response);
localStorage.setItem('token', response.token);
this.router.navigateByUrl('/home');
});
}
}
Sign up to view 0 direct reports
Get started