Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Documentation for $dialog is wrong #421

@hlship

Description

@hlship

https://github.com/angular-ui/bootstrap/blob/master/src/dialog/README.md

If I'm reading the code correctly, then:

Conflates $dialog(options) with dialog.open().

$dialog takes an optional options object to set flags and provide a resolve object.

The returned dialog object's open() method can take:

  • no parameters (templateURL and controller identified in options)
  • templateURL, controller name
  • templateURL, controller function
  • controller name
  • controller function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions