From 000012f3196776bb1d4b5df802c6763e514c0fb9 Mon Sep 17 00:00:00 2001 From: Lucas Galfasó Date: Fri, 24 May 2013 21:18:51 -0300 Subject: 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. --- test/ng/compileSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ng/compileSpec.js') diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js index c2827559..c1dedd4a 100755 --- a/test/ng/compileSpec.js +++ b/test/ng/compileSpec.js @@ -2244,7 +2244,7 @@ describe('$compile', function() { }); - iit('should support controllerAs', function() { + it('should support controllerAs', function() { module(function() { directive('main', function() { return { -- cgit v1.2.3