diff options
| author | Vojta Jina | 2012-03-30 13:40:19 -0700 |
|---|---|---|
| committer | Vojta Jina | 2012-04-03 10:10:44 -0700 |
| commit | 5f70d615a5f7e102424c6adc15d7a6f697870b6e (patch) | |
| tree | 791ce11e20caaf40dc9297fbc8863d604de2fd4d /src/ng/directive/ngNonBindable.js | |
| parent | 06d0955074f79de553cc34fbf945045dc458e064 (diff) | |
| download | angular.js-5f70d615a5f7e102424c6adc15d7a6f697870b6e.tar.bz2 | |
refactor(ngInclude): remove scope attribute
The purpose of allowing the scope to be specified was to enable the $route service to work
together with ngInclude. However the functionality of creating scopes was in the recent past
moved from the $route service to the ngView directive, so currently there is no valid use case
for specifying the scope for ngInclude. In fact, allowing the scope to be defined can under
certain circumstances lead to memory leaks.
Breaks ngInclude does not have scope attribute anymore.
Diffstat (limited to 'src/ng/directive/ngNonBindable.js')
0 files changed, 0 insertions, 0 deletions
