Skip to content

State.apply() generates empty view object #3

@jokade

Description

@jokade

State.apply() adds an empty view attribute to the generated state object, when the view was not explicitly specified in State.apply(). E.g.

$stateProvider.state("foo", State(url="foo", template="<p>bar!</p>"))

results in

$stateProvider.state('foo', { url: 'foo', template: '<p>bar!</p>', view: {} });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions