我想创建一个递归函数并将其传递给view以在laravel 5.2中构建一个类别,子类别以及如何为此代码创建路由和视图以及控制器......这是我的代码..can有人帮帮我吗?
$scope.myListNEW =
[
{ title: "First title", content: "First content" },
{ title: "Fourth title", content: "Fourth content" }
];