Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: angular/angular-phonecat
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: step-6
Choose a base ref
...
head repository: angular/angular-phonecat
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: step-7
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jun 5, 2020

  1. step-7 XHR & Dependency Injection

    - Replace the in-memory dataset with data loaded from the server (in the form of a static
      'phone.json' file to keep the tutorial backend agnostic):
      - The JSON data is loaded using the `$http` service.
    - Demonstrate the use of `services` and `dependency injection` (DI):
      - `$http` is injected into the controller through DI.
      - Introduce DI annotation methods: `.$inject` and inline array
    
    Closes #207
    petebacondarwin authored and gkalpak committed Jun 5, 2020
    Configuration menu
    Copy the full SHA
    5ff669b View commit details
    Browse the repository at this point in the history
Loading