Expert Angular
上QQ阅读APP看书,第一时间看更新

Injecting AngularJS dependencies to Angular

We may come across a scenario where the business logic on AngularJS services or any built-in services, such as $location or $timeout, is to be injected to Angular code. This can be handled by upgrading the AngularJS provider to Angular and injecting it into Angular code wherever required.