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
Auf dieser Seite können Sie das Online-Video Building an Application with AngularJS Tutorial: Using DI in a Controller | packtpub.com mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Packt 14 Dezember 2014 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 125 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!