Quickstart Angular.js
Self-documenting, basic prototypes/examples to get started with AngularJS (1.x). Here for me (and others?) to refer back to.
Examples (in src
)
- NgAppOnly - No related JS file, just some simple things that you can do on-page with Angular without writing an app module or controller
- NgController - How to add a simple Controller to the app
- NgIncludeViews - Using
ng-include
to switch views in a single page app
- HttpService - Use
$http
service in a controller to do XHR stuff
- LocalStorage - Use grevory/angular-local-storage to preserve values over page Refresh
- Directives - Examples of attribute and element directives, and passing a controller into an element directive