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: master
Choose a base ref
...
head repository: wislon/angular-phonecat
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 20 commits
  • 370 files changed
  • 6 contributors

Commits on Nov 27, 2013

  1. add phone images

    - Added images for each phone listed in phones.json
    IgorMinar authored and petebacondarwin committed Nov 27, 2013
    Configuration menu
    Copy the full SHA
    fd12b52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7588419 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3517dbb View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2013

  1. Configuration menu
    Copy the full SHA
    d0ccca8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e345bb View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2013

  1. BUMP ANGULAR VERSION to 1.2.5

    btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    c19288c View commit details
    Browse the repository at this point in the history
  2. step-0 bootstrap angular app

    - add ngApp directive to bootstrap the app
    - add simple template with an expression
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    63c5927 View commit details
    Browse the repository at this point in the history
  3. step-1 static phone list

    - Added static html list with two phones into index.html
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    603c4fa View commit details
    Browse the repository at this point in the history
  4. step-2 angular template with repeater

    - Converted the static html list into dynamic one by:
      - creating PhoneListCtrl controller for the application
      - extracting the data from HTML into a the controller as an in-memory
        dataset
      - converting the static document into a template with the use of
        `[ngRepeat]` [directive] which iterates over the dataset with phones,
        clones the ngRepeat template for each instance and renders it into the
        view
    - Added a simple unit test to show off how to write tests and run them
      with JsTD (see README.md for instructions)
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    88e6729 View commit details
    Browse the repository at this point in the history
  5. step-3 interactive search

    - Added a search box to demonstrate how:
      - the data-binding works on input fields
      - to use [filter] filter
      - [ngRepeat] automatically shrinks and grows the number of phones in the view
    - Added an end-to-end test to:
      - show how end-to-end tests are written and used
      - to prove that the search box and the repeater are correctly wired together
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    cb82c47 View commit details
    Browse the repository at this point in the history
  6. step-4 phone ordering

    - Add "age" property to the phone model
    - Add select box to control phone list order
    - Override the default order value in controller
    - Add unit and e2e test for this feature
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    776ee3e View commit details
    Browse the repository at this point in the history
  7. step-5 XHR and dependency injection

    - Replaced the in-memory dataset with data loaded from the server (in
      the form of static phone.json file to make this tutorial backend
      agnostic)
      - The json file is loaded using the [$http] service
    - Demonstrate the use of [services][service] and [dependency injection][DI]
      - The [$http] is injected into the controller through [dependency injection][DI]
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    edffc05 View commit details
    Browse the repository at this point in the history
  8. step-6 phone images and links

    - adding phone image and links to phone pages
    - add end2end test that verifies our phone links
    - css to style the page just a notch
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    4a4236f View commit details
    Browse the repository at this point in the history
  9. step-7 $route and app partitioning

    - Introduce the [$route] service which allows binding URLs for deep-linking with
      views
      - Create PhoneCatCtrl which governs the entire app and contains $route
        configuration
      - Load the ngRoute module
      - Map `/phones' to PhoneListCtrl and partails/phones-list.html
      - Map `/phones/<phone-id>' to PhoneDetailCtrl and partails/phones-detail.html
      - Copy deep linking parameters to root controller `params` property for access
        in sub controllers
      - Replace content of index.html with [ngView] directive
    
    - Create phone list route
      - Preserve existing PhoneListCtrl controller
      - Move existing html from index.html to partials/phone-list.html
    - Create phone details route
      - Empty placeholder PhoneDetailsCtrl controller
      - Empty placeholder partials/phane-details.html template
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    58e9dd7 View commit details
    Browse the repository at this point in the history
  10. step-8 phone details view

    - Fetch data for and render phone detail view
      - PhoneDetailCtrl controller to fetch details json with [$xhr] for a specific
        phone
      - template for the phone detailed view
    - CSS to make the phone details page look "pretty"
    mhevery authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    800909a View commit details
    Browse the repository at this point in the history
  11. step-9 checkmark filter

    - Added custom checkmark filter
    - Update phone detail template to use checkmark filter
    - Added spec for the filter
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    9077fdc View commit details
    Browse the repository at this point in the history
  12. 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
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    310e573 View commit details
    Browse the repository at this point in the history
  13. step-11 custom service and $resource

    - Replaced [$xhr] with [$resource]
    - Created a custom Phone service that represents the $resource client
    IgorMinar authored and btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    b3ea9d9 View commit details
    Browse the repository at this point in the history
  14. step-12 animations

    btford committed Dec 13, 2013
    Configuration menu
    Copy the full SHA
    17c7f0f View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2013

  1. Update README.md

    Some minor typographical/grammar fixes. Also fixed [$route] link reference.
    wislon committed Dec 17, 2013
    Configuration menu
    Copy the full SHA
    b7d86e5 View commit details
    Browse the repository at this point in the history
Loading