SHARE
TWEET

Untitled

a guest Jun 15th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <body ng-controller="cadastroAlunosCtrl">
  2.  
  3.                   <div class="jumbotron">
  4.                      <h3>{{app}}</h3>
  5.                      <ui-alert title="Ops, a problem here!"></ui-alert>
  6.      
  7. <div class="ui-alert-title">
  8.             </div>
  9.             <div class="ui-alert-message">
  10.                 {{error}}
  11.             </div>
  12.      
  13. var carregarContatos = function(){
  14.  
  15.                   contatosAPI.getContatos().then(function (response) {
  16.                      $scope.contatos = response.data;
  17.                   }).catch(function(data, status){
  18.                       $scope.message = "We can't get the data" + data;
  19.                      });
  20.                     };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top