Skip to main content

Description

The Url Tabs Directive by clicking on a tab will not add the filter to the URL it will redirect the user to ‘/action/tab_value’ if the action attribute is present on the tag. If not it will just redirect to ‘/tab_value’.

Usage

as element:

Directive info

  • This directive creates new scope.

Parameters

Events

tab_changed

When the tab is changed on this directive an event called tab_changed will be fired with the name of the tab that is now active. This event can be listened to like so.

Type:

broadcast

Target:

root scope

Example

Source

Result

Result