Thanks to visit codestin.com
Credit goes to github.com

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.

allow to pass a function as templateUrl in routes #1193

Closed
@dcu

Description

@dcu

right now you have to do a ugly hack to achieve something similar (for example: http://stackoverflow.com/questions/11534710/angularjs-how-to-use-routeparams-in-generating-the-templateurl )

it would be nice if angularjs allows you to pass a function that receives $routeParams (and $location if possible)

what do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions