Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Document that injectable functions, such as Module.run() accept an array in addition to a function #11399

Open
@jyasskin

Description

@jyasskin

Reading https://docs.angularjs.org/api/ng/type/angular.Module#run gives no indication that the argument can be either an array or a function. https://docs.angularjs.org/guide/di#module-methods describes it, but that's hard to find when you've looked up run() to understand the arguments you're seeing in some existing code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions