Skip to content

Commit eb1712b

Browse files
committed
docs(uiView): correct parameter name
Generated examples were showing element usage of uiView as both element an attribute combined. The only way to mitigate this is for the docs to imply that the name should always be specified using the “name” parameter. Fixes #1318
1 parent ee292fd commit eb1712b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viewDirective.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @description
1515
* The ui-view directive tells $state where to place your templates.
1616
*
17-
* @param {string=} ui-view A view name. The name should be unique amongst the other views in the
17+
* @param {string=} name A view name. The name should be unique amongst the other views in the
1818
* same state. You can have views of the same name that live in different states.
1919
*
2020
* @param {string=} autoscroll It allows you to set the scroll behavior of the browser window

0 commit comments

Comments
 (0)