docs($compile): correct documentation for directive controller ^ notation

`^` searches the element and its parents, not exclusively the element's parents. This confuses
a lot of people :(

Closes #8622
This commit is contained in:
Izhaki
2014-08-15 12:35:47 +01:00
committed by Caitlin Potter
parent a6d7b4bdbd
commit 20eef05195
+3 -3
View File
@@ -191,9 +191,9 @@
*
* * (no prefix) - Locate the required controller on the current element. Throw an error if not found.
* * `?` - Attempt to locate the required controller or pass `null` to the `link` fn if not found.
* * `^` - Locate the required controller by searching the element's parents. Throw an error if not found.
* * `?^` - Attempt to locate the required controller by searching the element's parents or pass `null` to the
* `link` fn if not found.
* * `^` - Locate the required controller by searching the element and its parents. Throw an error if not found.
* * `?^` - Attempt to locate the required controller by searching the element and its parents parents or pass
* `null` to the `link` fn if not found.
*
*
* #### `controllerAs`