167 Views
In this example, I happen to be using Lodash; but, this could just as easily apply to any other external JavaScript library. Since AngularJS relies on dependency injection, I like to take all my 3rd-party scripts and expose them through AngularJS factories so that they can be injected into my Controllers, Services, Directives, and Run blocks.
0 comments