upload thumb image of the article, some stuff fixed

This commit is contained in:
arnaucode
2018-02-03 18:42:27 +01:00
parent 0c1c193645
commit f917eedace
10 changed files with 159 additions and 85 deletions

View File

@@ -12,7 +12,7 @@ angular.module('app.main', ['ngRoute'])
.controller('MainCtrl', function($scope, $rootScope, $http) {
$scope.posts = {};
$scope.posts = [];
$http.get(apiurl + 'posts')
.then(function(data) {
console.log('data success');