Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Angular >> Move to different page
selector: 'app-visit-rangle',
template: `
Visit Rangle
export class VisitRangleComponent {
goTopage() {
location.href = '';
//dataCar is an Array in the component.ts
<a [href]="url" target="_blank">YouTube</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment