Update Angular to 1.2.0 RC2

This commit is contained in:
Colin Frei 2013-09-22 11:10:37 +02:00
parent 7416269494
commit 0d3a40980e
184 changed files with 17993 additions and 21133 deletions

View file

@ -10,10 +10,10 @@ This makes it very easy to test the controller in isolation since one can simply
controller and test without a view, because there is no connection between the controller and the
view.</p>
<h3>Source</h2>
<div source-edit="" source-edit-deps="angular.js script.js" source-edit-html="index.html-176" source-edit-css="" source-edit-js="script.js-175" source-edit-json="" source-edit-unit="" source-edit-scenario="scenario.js-177"></div>
<div source-edit="" source-edit-deps="angular.js script.js" source-edit-html="index.html-177" source-edit-css="" source-edit-js="script.js-176" source-edit-json="" source-edit-unit="" source-edit-scenario="scenario.js-178"></div>
<div class="tabbable"><div class="tab-pane" title="index.html">
<pre class="prettyprint linenums" ng-set-text="index.html-176" ng-html-wrap=" angular.js script.js"></pre>
<script type="text/ng-template" id="index.html-176">
<pre class="prettyprint linenums" ng-set-text="index.html-177" ng-html-wrap=" angular.js script.js"></pre>
<script type="text/ng-template" id="index.html-177">
<h4>Tic-Tac-Toe</h4>
@ -31,8 +31,8 @@ view.</p>
</script>
</div>
<div class="tab-pane" title="script.js">
<pre class="prettyprint linenums" ng-set-text="script.js-175"></pre>
<script type="text/ng-template" id="script.js-175">
<pre class="prettyprint linenums" ng-set-text="script.js-176"></pre>
<script type="text/ng-template" id="script.js-176">
function TicTacToeCntl($scope, $location) {
$scope.cellStyle= {
'height': '20px',
@ -99,8 +99,8 @@ view.</p>
</script>
</div>
<div class="tab-pane" title="End to end test">
<pre class="prettyprint linenums" ng-set-text="scenario.js-177"></pre>
<script type="text/ng-template" id="scenario.js-177">
<pre class="prettyprint linenums" ng-set-text="scenario.js-178"></pre>
<script type="text/ng-template" id="scenario.js-178">
it('should play a game', function() {
piece(1, 1);
expect(binding('nextMove')).toEqual('O');
@ -118,7 +118,7 @@ view.</p>
</script>
</div>
</div><h2>Demo</h3>
<div class="well doc-example-live animate-container" ng-embed-app="" ng-set-html="index.html-176" ng-eval-javascript="script.js-175"></div>
<div class="well doc-example-live animate-container" ng-embed-app="" ng-set-html="index.html-177" ng-eval-javascript="script.js-176"></div>
<h2>Things to notice</h2>
<ul>
<li>The controller is defined in JavaScript and has no reference to the rendering logic.</li>