Upgrade to Pro — share decks privately, control downloads, hide ads and more …

10. Routing and Navigation 2

iliya
March 09, 2017
58

10. Routing and Navigation 2

iliya

March 09, 2017
Tweet

Transcript

  1. Named Outlets ( Secondary routes ) • Independent of each

    other • Work in combination with other routes • Displayed in named outlets
  2. Protecting Routes ( Route Guards ) • Authorization • Authentication

    • Prefetching data • Making sure data is saved before navigating elsewhere
  3. Pure Pipes A pure pipe is executed only when Angular

    detects a pure change to the input value. A pure change is either a change to a primitive input value (String, Number, Boolean, Symbol) or a changed object reference (Date, Array, Function, Object).
  4. Impure Pipes Angular executes an impure pipe during every component

    change detection cycle. An impure pipe is called often, as often as every keystroke or mouse-move.