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

Tags: bogdan-karlenko/angular-phonecat

Tags

step-4

Toggle step-4's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
step-4 Directory and File Organization

- Refactor the layout of files and directories, applying best practices and techniques that will
  make the application easier to maintain and expand in the future:
  - Put each entity in its own file.
  - Organize code by feature area (instead of by function).
  - Split code into modules that other modules can depend on.
  - Use external templates in `.html` files (instead of inline HTML strings).

step-3

Toggle step-3's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
step-3 Components

- Introduce components.
- Combine the controller and the template into a reusable, isolated `phoneList` component.
- Refactor the application and tests to use the `phoneList` component.

step-2

Toggle step-2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
step-2 Angular Templates

- Convert the static phone list to dynamic by:
  - Creating a `PhoneListController` controller.
  - Extracting the data from HTML into the controller as an in-memory dataset.
  - Converting the static document into a template with the use of the `ngRepeat` directive.
- Add a simple unit test for the `PhoneListController` controller to show how to write tests and
  run them using Karma (see README.md for instructions).

step-1

Toggle step-1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
step-1 Static Template

- Add a stylesheet file ('app/app.css').
- Add a static list with two phones.

step-0

Toggle step-0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
step-0 Bootstrapping

- Add the 'angular.js' script.
- Add the `ngApp` directive to bootstrap the application.
- Add a simple template with an expression.

1.4-step-12

Toggle 1.4-step-12's commit message
step-12 animations

1.4-step-11

Toggle 1.4-step-11's commit message
step-11 custom service and $resource

- Replaced [$http] with [$resource]
- Created a custom Phone service that represents the $resource client

1.4-step-10

Toggle 1.4-step-10's commit message
step-10 image swapping with ng:click

In the phone detail view, clicking on a thumbnail image, changes the
main phone image to be the large version of the thumbnail image.

- Define mainImageUrl model variable in the PhoneDetailCtrl and set its
  default value
- Create setImage controller method to change mainImageUrl
- Register ng:click handler for thumb images to use setImage controller
  method
- Add e2e tests for this feature
- Add css to change the mouse cursor when user points at thumnail images

1.4-step-9

Toggle 1.4-step-9's commit message
step-9 checkmark filter

- Added custom checkmark filter
- Update phone detail template to use checkmark filter
- Added spec for the filter

1.4-step-8

Toggle 1.4-step-8's commit message
step-8 phone details view

- Fetch data for and render phone detail view
  - PhoneDetailCtrl controller to fetch details json with [$http] for a specific
    phone
  - template for the phone detailed view
- CSS to make the phone details page look "pretty"