gocardless/angularjs-style-guide

Using 'replace' for a directive is being deprecated

meenie opened this issue · 1 comments

In your section on directives here, you suggest you should use replace. In the next major version AngularJS, they are removing that option. You can read more here: angular/angular.js@eec6394

In any case, I agree you should use elements over attributes.

@meenie thanks for your comment! We'll update the guide shortly. I wasn't actually aware of that change, so thank you 👍