File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -964,10 +964,10 @@ var csp = function() {
964
964
* used to force either jqLite by leaving ng-jq blank or setting the name of
965
965
* the jquery variable under window (eg. jQuery).
966
966
*
967
- * Since this directive is global for the angular library, it is recommended
968
- * that it's added to the same element as ng-app or the HTML element, but it is not mandatory.
969
- * It needs to be noted that only the first instance of `ng-jq` will be used and all others
970
- * ignored.
967
+ * Since angular looks for this directive when it is loaded (doesn't wait for the
968
+ * DOMContentLoaded event), it must be placed on an element that comes before the script
969
+ * which loads angular. Also, only the first instance of `ng-jq` will be used and all
970
+ * others ignored.
971
971
*
972
972
* @example
973
973
* This example shows how to force jqLite using the `ngJq` directive to the `html` tag.
You can’t perform that action at this time.
0 commit comments