We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 388f8f8 commit fd16cc7Copy full SHA for fd16cc7
src/stateFilters.js
@@ -1,10 +1,28 @@
1
+/**
2
+ * @ngdoc filter
3
+ * @name ui.router.state.filter:isState
4
+ *
5
+ * @requires ui.router.state.$state
6
7
+ * @description
8
+ * Translates to {@link ui.router.state.$state#is $state.is("stateName")}.
9
+ */
10
$IsStateFilter.$inject = ['$state'];
11
function $IsStateFilter($state) {
12
return function(state) {
13
return $state.is(state);
14
};
15
}
16
17
18
19
+ * @name ui.router.state.filter:includeByState
20
21
22
23
24
+ * Translates to {@link ui.router.state.$state#includes $state.includes()}.
25
26
$IncludedByStateFilter.$inject = ['$state'];
27
function $IncludedByStateFilter($state) {
28
0 commit comments