@ngdoc overview @name Tutorial: Step 6 @description
| {@link tutorial.step_05 Previous} | {@link http://angular.github.com/angular-phonecat/step-6/app Live Demo } | {@link tutorial Tutorial Home} | {@link https://github.com/angular/angular-phonecat/compare/step-5...step-6 Code Diff} | {@link tutorial.step_07 Next} |
[
{
...
"id": "motorola-defy-with-motoblur",
"imageUrl": "img/phones/motorola-defy-with-motoblur.0.jpg",
"name": "Motorola DEFY\u2122 with MOTOBLUR\u2122",
...
},
...
]
## Template
__`app/index.html`:__
...
{{phone.snippet}}
...
it('should render phone specific links', function() {
input('query').enter('nexus');
element('.phones li a').click();
expect(browser().location().hash()).toBe('/phones/nexus-s');
});
...
We added a new end-to-end test to verify that the app is generating correct links to the phone
views that we will implement in the upcoming steps.
You can now refresh the browser tab with the end-to-end test runner to see the tests run, or you
can see them running on {@link
http://angular.github.com/angular-phonecat/step-6/test/e2e/runner.html
angular's server}.
Now that you have added phone images and links, go to Step 7 to learn about angular layout
templates and how angular makes it easy to create applications that have multiple views.
| {@link tutorial.step_05 Previous} | {@link http://angular.github.com/angular-phonecat/step-6/app Live Demo } | {@link tutorial Tutorial Home} | {@link https://github.com/angular/angular-phonecat/compare/step-5...step-6 Code Diff} | {@link tutorial.step_07 Next} |