Posts by andre isaac • 21 points
5 posts
-
0
votes1
answer589
viewsA: Create a multiple filter with only one input
I’d start by creating my own Scope of directive, and pass inputs received to the directive’s Scope to make it independent of the controller code on which it is used. And simplify the code because…
-
0
votes2
answers380
viewsA: Problems with modals
Since I started using Angularjs stopped using jquery, angular controls the DOM in a much more intuitive way. In the modal example I usually use the W3.css which is pure CSS, and with Angularjs I…
-
0
votes2
answers157
viewsA: How to make "data-Binding" of two variables in the same select?
I would simplify the field ng-options, in order to simplify its reading. When we have a array composed of objectos, while iterating on it the item refers the object, so I chose the property .name…
-
0
votes4
answers536
viewsA: How to share the $Scope variable from one controller to another with parameters in Angularjs
Good, In my opinion, it is advisable for you to create a factory for the date, which will be a Objecto, where you can encapsulate the date and their métodos. Then just call the propriedades what you…
-
0
votes3
answers1350
viewsQ: PHP $_FILES[''] becomes empty before validation
Good, I have a problem in my code, I have an image upload and I set that the size should be less than 2MB and 280 x 280 px. What happens is that when an image upload is made the…