Skip to content

define functions as controller methods #2

@nadayar

Description

@nadayar

You have global methods that the controller calls anyways.

These methods should be defined inside the controllers either by using "this.functionName" or "$scope.functionName"; I prefer the former.

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