Skip to content

Commit

Permalink
fix(modal): compile only once with component
Browse files Browse the repository at this point in the history
- When using the component option, do not compile content in order to take advantage of later compilation

Closes angular-ui#6202
Fixes angular-ui#6201
  • Loading branch information
navarroaxel authored and wesleycho committed Aug 25, 2016
1 parent 048d85a commit 969eb9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modal/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,6 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.stackedMap', 'ui.bootstrap.p
close: '$close($value)',
dismiss: '$dismiss($value)'
});
content = $compile(content)(modal.scope);
} else {
content = modal.content;
}
Expand Down

0 comments on commit 969eb9c

Please sign in to comment.