Posts by Renan Coelho • 237 points
6 posts
-
0
votes1
answer207
viewsA: Angularjs: how to avoid calling the route in the first page load
After all my research, I was unsuccessful. But I decided to create my simple method that solved my problem and I know that can help anyone who has this same question. Code: angular.module("myApp",…
-
2
votes1
answer207
viewsQ: Angularjs: how to avoid calling the route in the first page load
I need to get the page fully loaded, without calling any routes, when the user accesses through the direct link. The problem occurs when the page loads, Angular simply reads the path of the URL and…
-
3
votes1
answer880
viewsQ: Angularjs: how to work with file-separated controllers
I use a service to make each route make 3 http.get requests: one for the content the server will generate on a part of the page, a js file that contains your controller, and a css file. My problem…
-
4
votes1
answer55
viewsQ: HTML5: Problem with operator not in the Pattern attribute of input text
I want to make input text allow only the following strings: site.com; site.com.br; site123.com123.br; site-123.com.br. But never: site-123-.com.br My expression was like this:…
-
2
votes1
answer142
viewsQ: Accessing variables dynamically in C language
I understand that it is possible to access variables dynamically in Javasscript, but to do this in C, I can’t find anywhere. Follow the code in Javascript: var n1,n2,n3,n4,n5; n1 = n2 = n3 = n4 = n5…
-
2
votes2
answers1293
viewsA: Button for cell phone call
You can use the tel:000000000. Ex: <a href="tel:21912345678">ligar agora</a>