-
Notifications
You must be signed in to change notification settings - Fork 2k
Show article from category mean.js #1663
Comments
@mskinho I don't understand what last two examples you provided in your description. However, the one thing that jumps out at me is the referencing of In addition, it appears that categories reside in your Article data. The way that you're checking for equality in your If you could clarify some of this, that would help in understanding your issue. |
mleanos thanks for your help. Thanks for help. |
@mskinho What does the data in Is it just the Category ID? something like: Can you describe how this is not working? Are you getting console errors? Or is it just not finding any articles for the provided Category? |
@mleanos I using this method in: $scope.getAticles = function(category){ Like menu dropdown it's work this way, but for display in other page not work. |
In this Git work https://github.com/K-M-B/mean.js-support-module/blob/master/modules/support/client/views/support.issues.client.view.html |
@mskinho In that line, in your example code, what is Can you describe in more detail how it's not working? Do you see any console logs? BTW: the repo link you provided in your last comment, doesn't work. It goes to a 404 page. It's most likely a private repo. |
Update link https://github.com/K-M-B/mean.js-support-module/blob/master/modules/support/client/views/support.issues.client.view.html |
I found exemplo That works similarly that I need. http://plnkr.co/edit/yNOIlgBK2inFy1FkFsKk?p=preview Do you have any exemplo that display article from category or similar, using struture mean.js? |
Link Menu
Route Client:
List Article Category:
<a class="md-12-line" ng-repeat="article in getArticles(category.id) ">
Controller Client:
I tried the other way:
Controller Client:
$scope.subCat = $stateParams.subcategoria;
List Article Category:
<a class="md-12-line" ng-repeat="article in article | Filter: {(category: category.id)} ">
But not working anyway, can I help me?
The text was updated successfully, but these errors were encountered: