SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

refactor(loader): move component definition code to the `$compileProvider`

The `Module.component()` helper now delegates to `$compileProvider.component()`.

This has the following benefits:

- when using only the loader, we are not accessing out of scope variables / functions
- components can be registered via $compileProvider
- docs are a bit easier to find
- it is easier to keep the Batarang version of the loader up to date if there is minimal
  code in that file.

Closes #13692
M
Martin Staffa committed
feeb19787ca6e23e15578a4d1319f1c33853290c
Parent: 98c2db7
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 1/8/2016, 12:27:37 PM