Part of Building an Application with AngularJS video series. For the full Course visit:
https://www.packtpub.com/web-developm...
Controllers and services often need to collaborate with or use other services. We can get hold of external dependencies using the dependency injection.
• Define a new controller
• Add the $scope service as an external dependency of the controller.
• Inject multiple external dependencies into the controller
________________________________________________________________
For the latest in web development video tutorials, please visit:
http://www.packtpub.com/books/video?u...
Find us on Facebook -- / packtvideo
Follow us on Twitter - / packtvideo
On this page of the site you can watch the video online Building an Application with AngularJS Tutorial: Using DI in a Controller | packtpub.com with a duration of hours minute second in good quality, which was uploaded by the user Packt 14 December 2014, share the link with friends and acquaintances, this video has already been watched 125 times on youtube and it was liked by 0 viewers. Enjoy your viewing!