Services and Routing

Web developers looking to expand their skills with AngularJS

Prerequisite
None

Expected Duration
158 minutes

Description
Services are objects in AngularJS used to organize and share code in applications. In this course, you will learn about a large number of built-in services ranging from HTTP server interactions to exception handling and location services.

Objective

Built-in Services

  • start the course
  • use the $anchorScroll service
  • use the $locale service
  • use the $timeout service
  • use the $parse service
  • use the $compile service
  • use the $cacheFactory service
  • use the $exceptionHandler service
  • use the $cookieStore service

Custom and HTTP Services

  • create a simple custom service
  • use the $http service to GET server data
  • use the $http service to POST server data
  • use the $resource service to request server data
  • use the $http and $q services together

Routing

  • set up routing
  • use route parameters
  • set up a default route
  • use the $route service to read query strings
  • use the $route service to reload pages
  • set up a simple route using the templates property
  • create custom properties on routes
  • use the $location service to perform client site routing
  • use the $location service to replace views without altering browser history

Other Services

  • use the $log service
  • use the $filter function from markup and controller
  • use the $rootScope service
  • use the $window and $document services
  • use the $q service

Practice: Use Services

  • use the $http service to GET and POST server data

MONTHLY SUBSCRIPTION

$129/month
 

ANNUAL SUBSCRIPTION

$1295/year

Multi-license discounts available for Annual and Monthly subscriptions.