Created
November 24, 2014 12:37
-
-
Save EmmanuelDemey/b939769c694082de46e9 to your computer and use it in GitHub Desktop.
Slide 28 - Expressions in AngularJS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <table class="key-list" id="products" data-ng-init="price=50; qty=3"> | |
| <tr><td>Product name</td><td>Price</td><td>Qty</td><td>Total</td></tr> | |
| <tr> | |
| <td>AngularJS book for newbies</td> | |
| <td id="price">{{price}}</td> | |
| <td id="qty">{{qty}}</td> | |
| <td id="total">{{price * qty}}</td> | |
| </tr> | |
| </table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment