Building an Application with AngularJS Tutorial: Using DI in a Controller | packtpub.com
125 views · Published 15 December 2014 · 3:08 · Indexed 25 October 2026
Channel: Packt · 2014 · Science & Technology
Part of Building an Application with AngularJS video series. For the full Course visit: https://www.packtpub.com/web-development/building-application-angularjs-video?utm_source=youtube&utm_medium=video-description&utm_campaign=yt-BAwithAngularJs 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?utm_source=youtube&utm_medium=video-description&utm_campaign=yt-BAwithAngularJs Find us on Facebook -- http://www.facebook.com/Packtvideo Follow us on Twitter - http://www.twitter.com/packtvideo
More from this channel
-
4:13
Fast Track to Adobe Captivate 6 Tutorial: Inserting New Slides | packtpub.com
-
3:24
UDK Game Programming with UnrealScript Tutorial: Configuring Kismet | packtpub.com
-
7:48
Building a Website with Drupal Tutorial: Content Types and Location | packtpub.com
-
2:40
Getting Started with Magento Tutorial: Introduction to Payment Methods | packtpub.com
-
3:25
Getting Started with Apache Maven Tutorial: Introducing Maven Plugins | packtpub.com
-
2:55
Moodle for Mobile Learning Tutorial: LTI (Learning Tool Interoperability) | packtpub.com
-
3:56
Moodle for Mobile Learning Tutorial: Embedding Twitter Feeds in Moodle | packtpub.com
-
4:27
XNA 3D Game Development By Example Tutorial: Drawing Sprites | packtpub.com