Oreilly - Factories and Directives in AngularJS
by Alex Vanston | Publisher: Infinite Skills | Release Date: March 2015 | ISBN: 9781771373586
In this Factories and Directives in AngularJS training course, expert author Alex Vanston will teach you how to make your services and directives more powerful, easily configurable, modular, and testable. This course is designed for users that already have programming experience, and are comfortable with JavaScript and Angular. You will start by learning about directives, including dynamic templates, advanced scoping, and custom inputs. From there, Alex will show you how to create modular factories. This video tutorial also covers messaging and events and unleashing providers and $injector. Finally, you will learn how to modify services and directives, and make testing easier.Once you have completed this computer based training course, you will be fully capable of using Angular to take your services and directives to the next level.
- Introduction
- Course Overview 00:04:57
- About The Author 00:00:58
- Directives
- Dynamic Templates 00:05:07
- Advanced Scoping 00:03:03
- Using Controllers For Coordination 00:06:22
- Harnessing $compile 00:03:39
- Custom Inputs 00:04:14
- Creating Modular Factories
- Values Vs. References 00:02:03
- Handling Asynchronicity With Objects 00:03:18
- Handling Asynchronicity With Arrays 00:04:42
- But What About My Callbacks? 00:03:33
- Models
- What And Why Of Models 00:03:37
- Initialization Functions 00:03:55
- Collections 00:03:55
- Basic Caching 00:02:20
- Messaging And Events
- But Why Not $on? 00:03:35
- Subscribing And Triggering 00:08:19
- Unsubscribing 00:04:10
- Full Messaging Service 00:06:42
- Unleashing Providers And $injector
- Setting Configuration Values 00:03:07
- Global Error Handlers 00:03:09
- Interfaces Via Provider 00:03:12
- Interfaces Via $injector 00:03:29
- Optional Dependencies 00:03:51
- Decorators
- Decorating Factories 00:07:02
- Decorating Directives 00:06:21
- Making Testing Easier 00:06:36
- Conclusion