link to other components angular 1

link to other components angular

Link

Here is what the above code is Doing:
1. The routerLink directive tells the router where to navigate when the user clicks the link.
2. The routerLinkActive directive adds the active CSS class to the HTML element when the link’s route becomes active.
3. The routerLinkActiveOptions directive is used to configure the routerLinkActive directive.

The routerLinkActive directive adds the active CSS class to the HTML element when the link’s route becomes active.

The routerLinkActiveOptions directive is used to configure the routerLinkActive directive.

The routerLinkActiveOptions directive takes an object with two properties: exact and link.

The exact property is a Boolean that tells the routerLinkActive directive to add the active CSS class only when the current URL exactly matches the link’s URL.

The link property is a Boolean that tells the routerLinkActive directive to add the active CSS class when the current URL begins with the link’s URL.

The routerLinkActiveOptions directive is used to configure the routerLinkActive directive.

The routerLinkActiveOptions directive takes an object with two properties: exact and link.

The exact property is a Boolean that tells the routerLinkActive directive to add the active CSS class only when the current URL exactly matches the link’s URL.

The link property is a Boolean that tells the routerLinkActive directive to add the active CSS class when the current URL begins with the link’s URL.

The routerLinkActiveOptions directive is used to configure the routerLinkActive directive.

The routerLinkActiveOptions directive takes an object with two properties: exact and link.

The exact property is a Boolean that tells the routerLinkActive directive to add the active CSS class only when the current URL exactly matches the link’s URL.

The link property is a Boolean that tells the routerLinkActive directive to add the active CSS class when the current URL begins with the link’s URL.

The routerLinkActiveOptions directive is used to configure the routerLinkActive directive.

The routerLinkActiveOptions directive takes an object with two properties: exact and link.

The exact property is a Boolean that tells the routerLinkActive directive to add the active CSS class only when the current URL exactly matches the link’s URL.

The link property is a Boolean that tells the routerLinkActive directive to add the active CSS class when the current URL begins with the link’s URL.

The routerLinkActiveOptions directive is used to configure the routerLinkActive directive.

The routerLinkActiveOptions directive takes an object with two properties: exact and link.

The exact property is a Boolean that tells the routerLinkActive directive to add the active CSS class only when the current URL exactly matches the link’s URL.

The link property is a Boolean that tells the routerLinkActive directive to add the active CSS class when the current URL begins with the link’s URL.

The routerLinkActiveOptions directive is used to configure the routerLinkActive directive.

The routerLinkActiveOptions directive takes an object with two properties: exact and link.

The exact property is a Boolean that tells the routerLinkActive directive to add the active CSS class only when the current URL exactly matches the link’s URL.

The link property is a Boolean that tells the routerLinkActive directive to add the active CSS class when the current URL begins with the link’s URL.

The routerLinkActiveOptions directive is used to configure the routerLinkActive directive.

The routerLinkActiveOptions directive takes an object with two properties: exact and link.

The exact property is a Boolean that tells the routerLinkActive directive to add the active CSS class only when the current URL exactly matches the link’s URL.

The link property is a Boolean that tells the routerLinkActive directive to add the active CSS class when the current URL begins with the link’s URL.

Similar Posts