这是indexloc提供的服务,不要输入任何密码
Skip to content

step-7

@petebacondarwin petebacondarwin tagged this 21 Nov 10:34
- 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
Assets 2
Loading