Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 726ffdc

Browse files
wesleychobtford
authored andcommitted
docs($compile): add controllerAs example
1 parent b93ca85 commit 726ffdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ng/compile.js

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
* restrict: 'A',
6565
* scope: false,
6666
* controller: function($scope, $element, $attrs, $transclude, otherInjectables) { ... },
67+
* controllerAs: 'stringAlias',
6768
* require: 'siblingDirectiveName', // or // ['^parentDirectiveName', '?optionalDirectiveName', '?^optionalParent'],
6869
* compile: function compile(tElement, tAttrs, transclude) {
6970
* return {

0 commit comments

Comments
 (0)