O'Reilly logo

Learning Web Development with Bootstrap and AngularJS by Stephen Radford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6

  1. Custom service, $rootScope, application-wide controller
  2. Value, Service, and Factory
  3. The ngSanitize module
  4. The controller method allows our directive to communicate with other directives, whereas link does not
  5. The = means we can directly bind a model and @ means our directive will use the literal value of that attribute
  6. Setting the restrict property to EM
  7. Add some helper functions to our navbar
  8. Using $index

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required