Commit | Line | Data |
---|---|---|
b3acfd03 TO |
1 | This extension is an example of implementing a screen with CiviCRM+Angular. To view it: |
2 | ||
3 | 1. Install the extension | |
4 | 2. Navigate to "http://mysite.com/civicrm/a/#/example" | |
5 | ||
6 | There are a few key files involved: | |
7 | ||
dd257b71 TO |
8 | - [js/example.js](js/example.js) - An AngularJS module. This defines a route and a controller. |
9 | - [partials/example.html](partials/example.html) - A view for the controller | |
10 | - [angularex.php](angularex.php) - Registers the module using *angularex_civicrm_angularModules()*. |