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.

Injecting a constant into another gets undefined #14168

Closed
@kikar

Description

@kikar

I'm reporting a bug.
When trying to inject a constant into another constant function, it just gets undefined. It should instead inject the other constant

Here is the fiddle demo of the issue. https://jsfiddle.net/kikar/fy39qq1m/

The reason for this behavior is to be able to define a constant based on the value of another one, like API base url, based on type of enviroment.

Not working in angular 1.5.0 and 1.4.8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions