Posts by Jhonny Roger Virgilio da Silva • 106 points
4 posts
-
1
votes1
answer793
viewsA: Variable inside quotes - Angular
In case of embedding Youtube videos I recommend you use a directive for this... example: Directive : app.directive('youtubeIframe', function($sce) { return { restrict: 'EA', scope: { videoid:'=' },…
-
2
votes4
answers256
viewsA: What’s the difference between creating a module normally and creating a module within a function?
This is an IIFE Immediately Invoked Function Expression or Immediately-Invoked Function Expression, it is like an autoexecutable "module" that encapsulates the code avoiding collisions in the global…
-
0
votes4
answers140
viewsA: Factory returns blank result
I believe this is JSON syntax error, because this error is usually thrown by parsing failure. Checks if the function is actually returning JSON or if it has some syntax error.
-
6
votes2
answers1712
viewsA: How to name a Hibernate/JPA Constraint?
You can do this by modifying the properties of the Annotation @table. Here is the example for unique_name': @Table(uniqueConstraints = @UniqueConstraint(columnNames = "nome", name = "unique_nome"))…