Skip to content

Forbid scalar values on $scope #315

@tilmanschweitzer

Description

@tilmanschweitzer

From the angular wiki (https://github.com/angular/angular.js/wiki/Anti-Patterns):

Don't use a scalar variable (null is scalar) as a model within an isolate scope (such as ng-if). (Example: http://embed.plnkr.co/qRhLfw/preview)

(Last missing point from #133)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions