-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Comparing changes
Open a pull request
base repository: angular/angular-phonecat
base: master
head repository: HugoCrd/angular-phonecat
compare: master
- 20 commits
- 134 files changed
- 3 contributors
Commits on Jun 13, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 42aa2af - Browse repository at this point
Copy the full SHA 42aa2afView commit details -
added phonecat specific info into the README.md file
Configuration menu - View commit details
-
Copy full SHA for edffbb0 - Browse repository at this point
Copy the full SHA edffbb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b48cbe - Browse repository at this point
Copy the full SHA 9b48cbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6eddbb - Browse repository at this point
Copy the full SHA b6eddbbView commit details -
- Added a json file with a list of all phones. This file fakes a backend which would typically render this list dynamically from a database.
Configuration menu - View commit details
-
Copy full SHA for 83f89bc - Browse repository at this point
Copy the full SHA 83f89bcView commit details -
- Added one json file with detailed information about each phone listed in phones.json
Configuration menu - View commit details
-
Copy full SHA for d272b83 - Browse repository at this point
Copy the full SHA d272b83View commit details -
- Added images for each phone listed in phones.json
Configuration menu - View commit details
-
Copy full SHA for 8dfaeac - Browse repository at this point
Copy the full SHA 8dfaeacView commit details -
empty the angular-seed project
- Initial [angular-seed] project layout without default app and test code
Configuration menu - View commit details
-
Copy full SHA for 23757ff - Browse repository at this point
Copy the full SHA 23757ffView commit details -
- add ngApp directive to bootstrap the app - add simple template with an expression
Configuration menu - View commit details
-
Copy full SHA for 97adc80 - Browse repository at this point
Copy the full SHA 97adc80View commit details -
- Added static html list with two phones into index.html
Configuration menu - View commit details
-
Copy full SHA for 003c7c9 - Browse repository at this point
Copy the full SHA 003c7c9View commit details -
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)Configuration menu - View commit details
-
Copy full SHA for 0b67288 - Browse repository at this point
Copy the full SHA 0b67288View commit details -
- 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
Configuration menu - View commit details
-
Copy full SHA for 4b1ca41 - Browse repository at this point
Copy the full SHA 4b1ca41View commit details -
- 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
Configuration menu - View commit details
-
Copy full SHA for 889a4ef - Browse repository at this point
Copy the full SHA 889a4efView commit details -
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]
Configuration menu - View commit details
-
Copy full SHA for 86d4e0d - Browse repository at this point
Copy the full SHA 86d4e0dView commit details -
- adding phone image and links to phone pages - add end2end test that verifies our phone links - css to style the page just a notch
Configuration menu - View commit details
-
Copy full SHA for 0fe84c1 - Browse repository at this point
Copy the full SHA 0fe84c1View commit details -
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 - 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 [ng:view] widget - 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 templateConfiguration menu - View commit details
-
Copy full SHA for 06f7ba1 - Browse repository at this point
Copy the full SHA 06f7ba1View commit details -
- 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"Configuration menu - View commit details
-
Copy full SHA for af06cce - Browse repository at this point
Copy the full SHA af06cceView commit details -
- Added custom checkmark filter - Update phone detail template to use checkmark filter - Added spec for the filter
Configuration menu - View commit details
-
Copy full SHA for a380690 - Browse repository at this point
Copy the full SHA a380690View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 2987ce7 - Browse repository at this point
Copy the full SHA 2987ce7View commit details
Commits on Jun 14, 2012
-
step-11 custom service and $resource
- Replaced [$xhr] with [$resource] - Created a custom Phone service that represents the $resource client
Configuration menu - View commit details
-
Copy full SHA for 00a0706 - Browse repository at this point
Copy the full SHA 00a0706View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master