Chandan Kumar began their career in 2000 as a Project Engineer at HCL Infosystems Ltd. From 2002 to 2004, they worked as a Team Leader for various projects. In 2005, they were promoted to Regional Head and Regional Service Delivery Manager, and was instrumental in implementing various complex technical and commercial projects in the East. Chandan also mentored 255+ Technical Professionals and maintained an excellent service business delivery with various customers in Banking, Government, Corporate and Telecom segments. In 2016, they joined Redington India Ltd. as an IMS Business Manager (IT). In 2021, they moved to LRS Services (P) Ltd. as an IT Services Business Development Head. Currently, they are the GM & Head IT Services - Business Development at Megamax Services since 2022.
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { UserService } from '../../../services/user.service';
import { User } from '../../../models/user';
import { ToastrService } from 'ngx-toastr';
@Component({
selector: 'app-register',
templateUrl: './register.component.html',
styleUrls: ['./register.component.css']
})
export class RegisterComponent implements OnInit {
registerForm: FormGroup;
user: User;
constructor(private formBuilder: FormBuilder,
private router: Router,
private userService: UserService,
private toastr: ToastrService) { }
ngOnInit() {
this.registerForm = this.formBuilder.group({
firstName: ['', Validators.required],
lastName: ['', Validators.required],
email: ['', [Validators.required, Validators.email]],
password: ['', [Validators.required, Validators.minLength(6)]]
});
}
get f() { return this.registerForm.controls; }
onSubmit() {
this.user = Object.assign({}, this.registerForm.value);
this.userService.register(this.user).subscribe(
() => {
this.router.navigate(['/user/login']);
this.toastr.success('Registration successful');
},
error => {
this.toastr.error(error);
}
);
}
}
Sign up to view 5 direct reports
Get started
This person is not in any teams