AngularTS
    Preparing search index...

    Interface Controller

    AngularTS component lifecycle interface.

    interface Controller {
        $onChanges?: (changes: OnChangesObject) => void;
        $onDestroy?: () => void;
        $onInit?: () => void;
        $postLink?: () => void;
        name?: string;
    }
    Index

    Properties

    $onChanges?: (changes: OnChangesObject) => void

    Called when one-way bindings are updated

    $onDestroy?: () => void

    Called before the controller is destroyed

    $onInit?: () => void

    Called when the controller is initialized

    $postLink?: () => void

    Called after the component is linked

    name?: string

    Optional controller name (used in debugging)