(Note: I have seen in the "Dare not Stop" book, the author believes that the best way to learn a technology is to translate a field of books, I decided to do a trial, then spend about 1 months or so, the angular tutorial in the Phonecat sample all translated once, This of course more is to hope that they can get a raise, try to do the best, of course, quality is difficult to guarantee, all the proper nouns as far as possible, all chapters with https://docs.angularjs.org/tutorial/ correspondence, If you can, I hope you can study against both sides, give me some advice. So, let's get started! )
This section is translated from: https://docs.angularjs.org/tutorial/
Phonecat Tutorial App
Completing this tutorial is a great way to learn angularjs, which will take you to a ANGULARJS web The build process for your app. You'll build a directory to showcase a range of Android devices, and you can filter the list to see the devices you're interested in and see the details of any device.
follow this tutorial to see how angular makes the browser smarter-without introducing any local extensions or plugins:
• See how to use client-side data binding to build dynamic views that can be updated in a timely manner based on user behavior.
• See how angular keeps your data and views synchronized without the need to introduce any DOM operations.
• Learn to use karma and protractor to better and more easily test your web app.(Note: In this series, all test parts I will temporarily omit)
• Learn how to use Dependency injection (Dependency injection) and services to make it easier to complete some common web tasks (getting data in your app).
When you complete this tutorial you will be able to:
• Create a dynamic app that works on all modern browsers.
• Use data binding to connect to your data models and views.
• Use Karma to create and run unit tests.
• Use Protractor to create and run end to end tests.
• Move the applied logic from the template to the controller.
• Use angular services to get data from the server side.
• Use Nganimate to get animations in your app.
• Find directions for further learning Angularjs.
This tutorial will know that you have completed the entire process of building a simple application, including writing and running unit tests and end-to-end testing, and will set up experiments at the end of each step to provide you with more in-depth knowledge of angularjs and suggestions for the applications you are building.
You can spend a few hours browsing the whole tutorial or spend a pleasant day pondering it, if you're looking for a shorter introduction to Angularjs, here.
(The next part of the document has little to do with our theme, some of the Git Usage and node installation sections, which are not translated here and go directly to the body section.) )
[Angular Tutorial] Turorial