ошибка $ templateRequest: tpload при создании директивы - PullRequest
0 голосов
/ 16 июня 2019

У меня проблема с этим кодом.Что может быть?

index.html:

                <body ng-controller="cadastroAlunosCtrl">

                  <div class="jumbotron">
                     <h3>{{app}}</h3>
                     <ui-alert title="Ops, a problem here!"></ui-alert>

alert.html:

        <div class="ui-alert-title">
            </div>
            <div class="ui-alert-message">
                {{error}}
            </div>

cadastroAlunosCtrl.js:

               var carregarContatos = function(){

                  contatosAPI.getContatos().then(function (response) {
                     $scope.contatos = response.data;
                  }).catch(function(data, status){
                      $scope.message = "We can't get the data" + data;
                     });
                    };
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...