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

fix(modal): fix copying from $scope #5048

Closed

Conversation

wesleycho
Copy link
Contributor

  • Fixes issue where $scope provided does not have properties present
    on controller instance due to $new resulting in the property on the
    prototype of the $scope copied from, which causes it to not be
    enumerable

This fixes #5039

@wesleycho wesleycho added this to the 1.0.0 milestone Dec 10, 2015
@wesleycho wesleycho force-pushed the fix/bindToController-copying branch 3 times, most recently from 069ea02 to 3ae6aab Compare December 10, 2015 17:23
- Fixes issue where `$scope` provided does not have properties present
  on controller instance due to $new resulting in the property on the
prototype of the $scope copied from, which causes it to not be
enumerable
@Foxandxss
Copy link
Contributor

LGTM but I would change the titlte to "fix bindToController"

@wesleycho wesleycho closed this in b8969d1 Dec 10, 2015
@wesleycho wesleycho deleted the fix/bindToController-copying branch December 10, 2015 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use objects as bindToController option for modals
2 participants