From fbc7f1b4545f7ed9376ef3abe9b5fbb3cb43dc43 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 4 Feb 2011 13:29:45 -0800 Subject: ng:view should be nestable in ng:include --- test/widgetsSpec.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test/widgetsSpec.js') diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js index 6bff5a36..12fe7b64 100644 --- a/test/widgetsSpec.js +++ b/test/widgetsSpec.js @@ -880,6 +880,25 @@ describe("widget", function(){ rootScope.$eval(); expect(rootScope.$element.text()).toEqual('new parent'); }); + + it('should be possible to nest ng:view in ng:include', function() { + dealoc(rootScope); + rootScope = angular.compile('