0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript5,395 stars (5,395 stars)2,496 forks (2,496 forks)batch import
good first issueneeds: decisiontype: enhancement
Description
Two major reasons:
- It is deprecated and will be removed in Angular 2.0 https://docs.angularjs.org/api/ng/service/$compile
- It creates more problems than it is worth.
- For example: If you try to create a stacked directive and start adding classes to an element they end up getting removed because the dom element gets removed.
- Issue type
- refactor
- Research direction
- This issue involves removing the deprecated 'replace' property from all AngularJS directive definitions in the ui grid codebase. Look for occurrences of 'replace: true' or 'replace: false' in directive definition objects. Ensure tests are updated accordingly. The issue is from 2015, so verify if the codebase still uses AngularJS version that supports it. Refer to the AngularJS documentation on $compile for context.