CRM-14479 - Implement example extension with an Angular module
[civicrm-core.git] / tools / extensions / org.civicrm.angularex / README.md
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
8 - js/example.js - An AngularJS module. This defines a route and a controller.
9 - partials/example.html - A view for the controller
10 - *angularex.php* - Includes the function *angularex_civicrm_angularModules()* which
11 registers the module with the CiviCRM+Angular container.