Controllers and Directives


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
The scope option of Angular JS is an object that contains a property for each isolate scope binding. Scopes provide APIs to observe model mutations and can be nested to limit access to the properties of application components while providing access to shared model properties. Controllers are constructor functions that set the initial state and add behaviors to objects. In this course, you will examine isolate scopes and work with controllers and directives.

Target Audience
Web developers looking to expand their skills with AngularJS

Prerequisites
None

Expected Duration (hours)
1.7

Lesson Objectives

Controllers and Directives

  • start the course
  • describe isolate scopes in directives
  • use the equals sign to set up two-way binding
  • use the ampersand sign to invoke outer scope functions
  • use the at symbol to pass strings into the directives
  • create a directive using shorthand notation
  • replace directive elements in HTML markup
  • add controllers to directives
  • set up dynamic controllers for directives
  • use the transclude property
  • use the require property to set up communication between directives
  • communicate between nested directives
  • watch the attributes on a directive element for changes
  • work with browser events in directives
  • use the nglf directive
  • use the ngList directive
  • set up and communicate with both directives and nested directives
  • Course Number:
    wd_ango_a03_it_enus

    Expertise Level
    Intermediate