You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: src/modal/docs/readme.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ The `$uibModal` service has only one method: `open(options)` where available opt
6
6
*`templateUrl` - a path to a template representing modal's content
7
7
*`template` - inline template representing the modal's content
8
8
*`scope` - a scope instance to be used for the modal's content (actually the `$uibModal` service is going to create a child scope of a provided scope). Defaults to `$rootScope`
9
-
*`controller` - a controller for a modal instance - it can initialize scope used by modal. Accepts the "controller-as" syntax in the form 'SomeCtrl as myctrl'; can be injected with `$modalInstance`
9
+
*`controller` - a controller for a modal instance - it can initialize scope used by modal. Accepts the "controller-as" syntax in the form 'SomeCtrl as myctrl'; can be injected with `$uibModalInstance`
10
10
*`controllerAs` - an alternative to the controller-as syntax, matching the API of directive definitions. Requires the `controller` option to be provided as well
11
11
*`bindToController` - when used with `controllerAs` & set to `true`, it will bind the $scope properties onto the controller directly
12
12
*`resolve` - members that will be resolved and passed to the controller as locals; it is equivalent of the `resolve` property for AngularJS routes
0 commit comments