angularjs:angularjs_tutorial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
angularjs:angularjs_tutorial [2014/07/01 02:57] – mithat | angularjs:angularjs_tutorial [2015/06/25 12:25] – [Startup] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== An AngularJS Tutorial ====== | ====== An AngularJS Tutorial ====== | ||
- | [[https:// | + | [[https:// |
- Routing | - Routing | ||
Line 39: | Line 39: | ||
<code javascript> | <code javascript> | ||
- | The second parameter (in this example an empty array) is not optional: it's where additional modules that your app module will use are specified. You'll almost certainly want to put this JS in a separate file. | + | The second parameter (in this example an empty array) is not optional: it's where additional modules |
The resulting not-doing-anything-interesting-yet files might look like: | The resulting not-doing-anything-interesting-yet files might look like: | ||
Line 176: | Line 176: | ||
<ul> | <ul> | ||
< | < | ||
- | < | + | < |
</ul> | </ul> | ||
</ | </ | ||
Line 621: | Line 621: | ||
I'm not going to cover and values and providers (for now?). | I'm not going to cover and values and providers (for now?). | ||
- | The factory and service we created above are very simplistic. In a more typical app, you would put methods for doing [[wp> | + | The factory and service we created above are very simplistic. In a more typical app, you would put methods for doing [[wp> |
===== Data binding ===== | ===== Data binding ===== |
angularjs/angularjs_tutorial.txt · Last modified: 2015/06/25 12:30 by mithat