Posts by Fabio Kobuti • 51 points
5 posts
-
0
votes1
answer390
viewsA: Mask for a datepicker field in an application
<TextBlock Text="{Binding Start, StringFormat=d}" /> or <TextBlock Text="{Binding Path=OrderDate, StringFormat='{}{0:dd.MM.yyyy}'}"/>…
-
2
votes3
answers3091
viewsA: How to show or hide an element with Angularjs, without creating variable
ng-if="" Ps: Always prefer ng-if instead of ng-Hide because Hide is still in the DOM, only with display:None so all Dirty checks are done even without them being visible... ng-if removes DOM…
-
3
votes3
answers129
viewsA: How to share access between directives?
It is not good practice, but you can pass directive 1 as required in 1 app.directive('directive1', function(){ return { ... } }); app.directive('directive2', function) { return { require:…
-
0
votes2
answers410
viewsA: Loop Loop in Angularjs Cat Types
Dude, honestly, I would modify my service and already bring JSON all assembled the way it is its menu, with categories and subcategories in a list within each category... The way you do, depending…
angularjsanswered Fabio Kobuti 51 -
0
votes4
answers1081
viewsA: how to filter an ngRepeat loop according to the value of one of the contents of an array
Dude, I would advise you not to rewrite the wheel, because then the maintenance would be horrible. In your specific case, just do the following <div ng-repeat="tag in tags | filter: { property:…