From 6b402c386248f4e52f67637ee0e43fb351b1cc8e Mon Sep 17 00:00:00 2001 From: Andrew Joslin Date: Mon, 19 May 2014 06:57:31 -0600 Subject: [PATCH] docs(ionContent): clarify content gets child scope Closes #1392 --- js/angular/directive/content.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/angular/directive/content.js b/js/angular/directive/content.js index fa644e30e4d..880765ece73 100644 --- a/js/angular/directive/content.js +++ b/js/angular/directive/content.js @@ -18,6 +18,9 @@ * directive, and infinite scrolling with the {@link ionic.directive:ionInfiniteScroll} * directive. * + * Be aware that this directive gets its own child scope. If you do not understand why this + * is important, you can read [https://docs.angularjs.org/guide/scope](https://docs.angularjs.org/guide/scope). + * * @param {string=} delegate-handle The handle used to identify this scrollView * with {@link ionic.service:$ionicScrollDelegate}. * @param {boolean=} padding Whether to add padding to the content.