help.client.js 495 B

123456789101112131415161718192021222324
  1. (function (angular) {
  2. const SECTION_NAME = "history";
  3. angular
  4. .module("BrowserSync")
  5. .controller("HelpAboutController", [
  6. "options",
  7. "pagesConfig",
  8. helpAboutController
  9. ]);
  10. /**
  11. * @param options
  12. * @param pagesConfig
  13. */
  14. function helpAboutController(options, pagesConfig) {
  15. var ctrl = this;
  16. ctrl.options = options.bs;
  17. ctrl.section = pagesConfig[SECTION_NAME];
  18. }
  19. })(angular);