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

Commit 000012f

Browse files
lgalfasomhevery
authored andcommitted
feat(directive): support as instance syntax
Support controller: 'MyController as my' syntax for directives which publishes the controller instance to the directive scope. Support controllerAs syntax to define an alias to the controller within the directive scope.
1 parent b3777f2 commit 000012f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/compileSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2244,7 +2244,7 @@ describe('$compile', function() {
22442244
});
22452245

22462246

2247-
iit('should support controllerAs', function() {
2247+
it('should support controllerAs', function() {
22482248
module(function() {
22492249
directive('main', function() {
22502250
return {

0 commit comments

Comments
 (0)