L
L
l_e_l_y_a2020-01-10 17:14:24
Angular
l_e_l_y_a, 2020-01-10 17:14:24

What event allows you to track the complete loading of the AngulaJS component?

Good afternoon!

const rootModule = angular
    .module('app.rootSchedule', [
        uiRouter,
        mainFilter.name
    ])
    .component('app.rootSchedule', {
        template,
        controller: rootScheduleController
    })

class rootScheduleController {
    constructor(dataService, $uibModal, $compile, $window, $http, storageService, $settings, $stateParams, $scope) {
          this.mainFilter = null;

In the rootScheduleController controller class, I need to track whether my mainFilter component has loaded, which is represented in html by the directive
<main-filter  on-change="$ctrl.filterChange(value)"></main-filter>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question