AngularJS 1 Services In-depth
This course will demonstrate all of the techniques required to create your own AngularJS services and take maximum advantage of the built-in services.
What you'll learn
Services are a major piece of every AngularJS application and will likely make up the majority of the code you write in your own apps. Creating your own services requires understanding the different types of services and how and why to use each of them. The framework also provides lots of built-in services that can help you manage network requests, asynchronous execution, routing, and much more. Taking full advantage of that functionality requires a deep understanding of what is possible and how to use it to fit your particular situation. This course will teach you all of these things so you can build great applications with Google's popular framework.
Table of contents
- Introduction and Overview 2m
- Services and Providers 5m
- Demo: Using the Provider Function 7m
- Factory and Service Functions 2m
- Demo: Using the Factory and Service Functions 8m
- Constant and Value Functions 1m
- Demo: Using the Constant and Value Functions 8m
- Dependency Annotations 2m
- Demo: Using Dependency Annotations 3m
- Summary 1m
- Introduction and Overview 2m
- Promises and the $q Service 3m
- Demo: Using the $q Service 16m
- Routing Overview 2m
- Configuring $route and $routeParams 3m
- Demo: Configuring and Using Routes 9m
- Resolve Property and $route Events 3m
- Demo: Using the Resolve Property and Handling Events 4m
- Using Cookies and Logging 3m
- Demo: Using $cookies, $cookieStore, and $log 7m
- Summary 1m
- Introduction and Overview 1m
- $http Service Basics 4m
- Using Promises with $http 2m
- Abstracting $http Calls 2m
- RESTful Services 4m
- Demo: Reading and Updating Data with $http 10m
- Demo: Adding and Deleting Data with $http 6m
- $http Shortcut Functions 1m
- Demo: Using $http Shortcut Functions 1m
- Transformation Functions 2m
- Interceptors 1m
- Demo: Using Transformations and Interceptors 6m
- Understanding the $resource Service 4m
- Demo: Using the $resource Service 6m
- Summary 1m