Update to Angular 1.1.4
This commit is contained in:
parent
72a485d6e8
commit
f5fc1369ad
585 changed files with 48055 additions and 3041 deletions
2
lib/angular/docs/partials/tutorial/index.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/index.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><p>A great way to get introduced to AngularJS is to work through this tutorial, which walks you through
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/index.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><p>A great way to get introduced to AngularJS is to work through this tutorial, which walks you through
|
||||
the construction of an AngularJS web app. The app you will build is a catalog that displays a list
|
||||
of Android devices, lets you filter the list to see only devices that interest you, and then view
|
||||
details for any device.</p>
|
||||
|
|
6
lib/angular/docs/partials/tutorial/step_00.html
Normal file → Executable file
6
lib/angular/docs/partials/tutorial/step_00.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="0"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_00.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="0"></ul>
|
||||
|
||||
<p>You are now ready to build the AngularJS phonecat app. In this step, you will become familiar
|
||||
with the most important source code files, learn how to start the development servers bundled with
|
||||
|
@ -105,7 +105,7 @@ The code contains some key Angular elements that we will need going forward.</p>
|
|||
<pre><code> <html ng-app>
|
||||
</code></pre>
|
||||
|
||||
<p>The <code>ng-app</code> attribute is represents an Angular directive (named <code>ngApp</code>; Angular uses
|
||||
<p>The <code>ng-app</code> attribute represents an Angular directive (named <code>ngApp</code>; Angular uses
|
||||
<code>name-with-dashes</code> for attribute names and <code>camelCase</code> for the corresponding directive name)
|
||||
used to flag an element which Angular should consider to be the root element of our application.
|
||||
This gives application developers the freedom to tell Angular if the entire html page or only a
|
||||
|
@ -122,7 +122,7 @@ Angular finds the directive, it will bootstrap the application with the root of
|
|||
being the element on which the <code>ngApp</code> directive was defined.</p></li>
|
||||
<li><p>Double-curly binding with an expression:</p>
|
||||
|
||||
<pre><code> Nothing here {{'yet' + '!'}}`
|
||||
<pre><code> Nothing here {{'yet' + '!'}}
|
||||
</code></pre>
|
||||
|
||||
<p>This line demonstrates the core feature of Angular's templating capabilities – a binding, denoted
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_01.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_01.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="1"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_01.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="1"></ul>
|
||||
|
||||
<p>In order to illustrate how Angular enhances standard HTML, you will create a purely <em>static</em> HTML
|
||||
page and then examine how we can turn this HTML code into a template that Angular will use to
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_02.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_02.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="2"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_02.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="2"></ul>
|
||||
|
||||
<p>Now it's time to make the web page dynamic — with AngularJS. We'll also add a test that verifies the
|
||||
code for the controller we are going to add.</p>
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_03.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_03.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="3"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_03.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="3"></ul>
|
||||
|
||||
<p>We did a lot of work in laying a foundation for the app in the last step, so now we'll do something
|
||||
simple; we will add full text search (yes, it will be simple!). We will also write an end-to-end
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_04.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_04.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="4"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_04.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="4"></ul>
|
||||
|
||||
<p>In this step, you will add a feature to let your users control the order of the items in the phone
|
||||
list. The dynamic ordering is implemented by creating a new model property, wiring it together with
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_05.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_05.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="5"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_05.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="5"></ul>
|
||||
|
||||
<p>Enough of building an app with three phones in a hard-coded dataset! Let's fetch a larger dataset
|
||||
from our server using one of angular's built-in <a href="api/ng">services</a> called <a href="api/ng.$http"><code>$http</code></a>. We will use angular's <a href="guide/di">dependency injection (DI)</a> to provide the service to the <code>PhoneListCtrl</code> controller.</p>
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_06.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_06.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="6"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_06.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="6"></ul>
|
||||
|
||||
<p>In this step, you will add thumbnail images for the phones in the phone list, and links that, for
|
||||
now, will go nowhere. In subsequent steps you will use the links to display additional information
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_07.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_07.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="7"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_07.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="7"></ul>
|
||||
|
||||
<p>In this step, you will learn how to create a layout template and how to build an app that has
|
||||
multiple views by adding routing.</p>
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_08.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_08.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="8"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_08.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="8"></ul>
|
||||
|
||||
<p>In this step, you will implement the phone details view, which is displayed when a user clicks on a
|
||||
phone in the phone list.</p>
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_09.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_09.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="9"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_09.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="9"></ul>
|
||||
|
||||
<p>In this step you will learn how to create your own custom display filter.</p>
|
||||
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_10.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_10.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="10"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_10.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="10"></ul>
|
||||
|
||||
<p>In this step, you will add a clickable phone image swapper to the phone details page.</p>
|
||||
|
||||
|
|
2
lib/angular/docs/partials/tutorial/step_11.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/step_11.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><ul doc-tutorial-nav="11"></ul>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_11.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><ul doc-tutorial-nav="11"></ul>
|
||||
|
||||
<p>In this step, you will improve the way our app fetches data.</p>
|
||||
|
||||
|
|
2
lib/angular/docs/partials/tutorial/the_end.html
Normal file → Executable file
2
lib/angular/docs/partials/tutorial/the_end.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><p>Our application is now complete. Feel free to experiment with the code further, and jump back to
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/tutorial/the_end.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><p>Our application is now complete. Feel free to experiment with the code further, and jump back to
|
||||
previous steps using the <code>git checkout</code> command.</p>
|
||||
|
||||
<p>For more details and examples of the Angular concepts we touched on in this tutorial, see the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue