daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var app = angular.module('app' , []);
  2.  
  3. app.controller('indexController', function indexController($scope, $http) {
  4.    
  5.     $scope.loadAutomobili = function() {
  6.         $http.get('rest/automobili').then(function(data) {
  7.             $scope.automobili = data.data;
  8.         })
  9.     }
  10.     $scope.loadAutomobili();
  11.    
  12. });
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
 
Top