Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 6eb9c2a

Browse files
docs(modal): clarify that $modal and $modalInstance are not the same
Closes #1528
1 parent b87959a commit 6eb9c2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/modal/docs/demo.js

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ var ModalDemoCtrl = function ($scope, $modal, $log) {
2222
};
2323
};
2424

25+
// Please note that $modalInstance represents a modal window (instance) dependency.
26+
// It is not the same as the $modal service used above.
27+
2528
var ModalInstanceCtrl = function ($scope, $modalInstance, items) {
2629

2730
$scope.items = items;

0 commit comments

Comments
 (0)