Allow Horizon plugins to use angular

Registered by Rob Raymond

Angular is currently bootstrapped with a hard coded list of modules. Horizon plugins for dashboards or panels may want to use Angular framework as well. Currently this is impossible without editing angular/horizon.js file.
This blueprint proposes how extension facility of horizon can be used to also register new Angular modules.

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
High
Drafter:
Rob Raymond
Direction:
Approved
Assignee:
Rob Raymond
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
Rob Raymond
Completed by
Julie Pichon

Related branches

Sprints

Whiteboard

Proposal:

Add a new setting that extensions can use in their enabled file to add Angular modules

``ADD_ANGULAR_MODULES``
----------------------

A list of AngularJS modules to be loaded when Angular bootstraps. These modules
are added as dependencies on the root Horizon application ``hz``.

``ADD_ANGULAR_FILES``
----------------------

A list of javascript files to be included in the compressed set of files that are
loaded on every page. This is needed for AngularJS modules that are referenced in
``ADD_ANGULAR_MODULES`` and therefore need to be include in every page.

Gerrit topic: https://review.openstack.org/#q,topic:bp/plugins-angular,n,z

Addressed by: https://review.openstack.org/92929
    Allow extensions to add Angular modules

[jpichon 2014.06.10] It looks like the patch was merged, can this blueprint be marked as Implemented or is there more work remaining?

...Looks like the Settings from the proposal are both implemented in the patch so updating status to implemented, feel free to correct it if I got it wrong. Thanks!

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.