Globally configuring Angular directives

后端 未结 2 770
无人共我
无人共我 2021-01-04 00:28

Some of the Angular UI Bootstrap directives, such as datepicker, have configuration instructions like this: \"All settings can be provided as attributes in the

2条回答
  •  有刺的猬
    2021-01-04 01:00

    The reference documentation for using config is in the Angular.Module type under the config method. However, that documentation doesn't tell you how config works. For an overview, look in the Developer Guide under Provider Recipe.

提交回复
热议问题