Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(ngView, ngInclude): Add template to DOM before linking other directives #5367

Closed
wants to merge 2 commits into from

Conversation

tbosch
Copy link
Contributor

@tbosch tbosch commented Dec 11, 2013

Fixes #5247.

$compile($element.contents())(scope);
}
};
}];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EOL

@btford
Copy link
Contributor

btford commented Dec 13, 2013

aside from the EOL thing, LGTM

The template needs to be added to the DOM before
other directives at the same element as `ngView` are linked.

Related to angular#5247.
The template needs to be added to the DOM before
other directives at the same element as `ngInclude` are linked.

Fixes angular#5247.
@ghost ghost assigned tbosch Dec 16, 2013
@tbosch
Copy link
Contributor Author

tbosch commented Dec 16, 2013

Landed in master in 1.2.5

@tbosch tbosch closed this Dec 16, 2013
@tbosch tbosch deleted the nginclude-template-link branch February 6, 2014 19:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ngInclude behavior change from 1.2.1 -> 1.2.2
2 participants