horizon/openstack_dashboard/templates
Shaoquan Chen 67beea4138 Enabling strict di mode
Using strict DI mode will improve angular's performance when injecting
dependencies in injectable functions because it doesn't have to
dynamically discover a function's dependencies.

It is suggested by Angular official web site to use strict dependency
injection mode in production for get better performance:
https://docs.angularjs.org/guide/di#using-strict-dependency-injection

This patch fixes all the places where explicit di is not applied, and
then enables strict-di mode in production.

This is prioritized as CRITICAL for Horizon Mitaka release:
https://etherpad.openstack.org/p/mitaka-horizon-priorities

Change-Id: I1c0e01d7ac9aec03d961f14ff7297bc98c513637
Implements: blueprint angular-performance-strict-di
2015-11-19 15:11:39 -08:00
..
context_selection Drop Django 1.7 support 2015-11-16 11:55:38 +00:00
horizon Add ngroute libraries to appropriate paths 2015-11-19 07:25:13 -07:00
_header.html Drop Django 1.7 support 2015-11-16 11:55:38 +00:00
_stylesheets.html Dashboard ReOrg - retiring dashboard.scss 2015-08-14 18:08:51 +00:00
403.html Drop Django 1.7 support 2015-11-16 11:55:38 +00:00
404.html Drop Django 1.7 support 2015-11-16 11:55:38 +00:00
500.html Add optional Report Bug link to Horizon 2015-09-25 17:29:15 -07:00
base.html Enabling strict di mode 2015-11-19 15:11:39 -08:00