controller('profileTabs', ['$scope', '$http', '$cookieStore', function($scope, $http, $cookieStore) {
$scope.projectList = function (){
wsUserProject($cookieStore.get('uname')).then(function(data){
$scope.return1 = JSON.parse(data);
$scope.return1 = angular.toJson($scope.return1.body.projects);
console.log($scope.return1);
$scope.projectsListdata = $scope.return1;
});
}
}]);