@Component({
selector: 'my-signup',
- templateUrl: './signup.component.html'
+ templateUrl: './signup.component.html',
+ styleUrls: [ './signup.component.scss' ]
})
export class SignupComponent extends FormReactive implements OnInit {
error: string = null
this.router.navigate([ '/videos/list' ])
},
- err => this.error = err.text
+ err => this.error = err.message
)
}
}