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.

Comprehension Expression in select directive should be a service #7888

Open
@mdedetrich

Description

@mdedetrich

The setupAsOptions defined here
https://github.com/angular/angular.js/blob/master/src/ng/directive/select.js#L304

Should be refactored out as a service. The reasoning being is there may be other custom directives that use comprehension expressions, and they would essentially have to reimplement that function instead of requiring a service which is how its done for things like $parse

It would also help reduce the complexity of the code

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions