Posts by Victor Siqueira • 638 points
24 posts
-
3
votes1
answer2328
viewsQ: How to delete an old Git commit?
guys, earlier I was playing some stuff in git and unintentionally copied a folder with a file inside and commited locally, then I deleted it and committed the deletion locally, I was developing what…
-
1
votes0
answers336
viewsQ: How to insert an id in android SQLITE?
I am trying to insert the same id that I get from the server database in the android database through sqlite, however, it is generating an id of its own, I am using auto increment in Primary key, I…
-
1
votes0
answers108
viewsQ: Problems generating JSON with JAVA
I’m having trouble generating this json { "receita": [{ "specialtys": [{ "date": "27/01/2016 00:00:00", "itemSpecialtys": [{ "specialtyId": 1, "specialtyName": "Tabelionato de Notas", "receitas": [{…
-
1
votes1
answer53
viewsQ: Error installing Windows 8.1 Cordova
I’m having trouble installing Cordova on my machine, I followed the steps of the link himself Cordova however it was not working, it is giving error as follows :…
-
2
votes2
answers1104
viewsQ: Best Way to Perform Dependency Injection on Angular JS
I am working on a very large system where I am creating several modules and needed to guide them in a coherent way. Currently I am centralizing the injection of dependency in a single module, what I…
-
3
votes1
answer475
viewsQ: JSON array with Angularjs checkbox
I am trying to form a JSON with what is selected by checkbox, but when I select it inserts, but when I try to remove the check in, it inserts again. The correct would be to work in that way, but…
-
0
votes1
answer199
viewsQ: table Angularjs ordering does not change
I’m making a call from the server to a list of users, the result comes smoothly, but the ordering is not working. HTML <div class="table-responsive"> <table class="table table-striped…
-
6
votes1
answer344
viewsQ: Why is @import not working properly?
I’m trying to import one CSS into another but it’s not working, the directory structure is like this: css style. css/agoravou.css But the command is not working @import url('css/agoravou.css')…
-
0
votes1
answer55
viewsQ: Why doesn’t the form validate the fields?
I am making a validation of the registration screen so that it is reusable to the registration change screen, when it is registration is properly establishing, but when it is the change it does not…
-
0
votes1
answer332
viewsQ: Why does a script work within HTML and not in JS?
I am making use of toggle to change an icone and noticed that the script I made did not work at all, I played it inside html and it worked smoothly, but when I play it back to his js file, where it…
-
0
votes2
answers564
viewsQ: Why function is returning Undefined
I am trying to get a return json of the function and associate it to a variable, because so I take the need to structure the received data with page from within this function and I can work in…
-
5
votes1
answer13456
viewsQ: How to go through attributes of a JSON?
I’m trying to go through attributes of a json, I’m trying this way for (var i = 0, length = r.length; i < length; i++) { for (var i2 = 0,length = r[i].lenght; i2 < length; i2++ ){…
-
0
votes1
answer58
viewsA: Is the Regexp validity test correct?
I realized that the problem was in the interpretation of the browser, where he removed the bars "\" to solve this is simple, just add another bar in front, IE, the code is like this:…
-
0
votes1
answer58
viewsQ: Is the Regexp validity test correct?
I am trying to validate a password through Regexp, in javascript, but it only returns false when it should actually return true, for having given match value, someone would know if there is…
-
5
votes2
answers2657
viewsQ: Regex to pick sequence of equal numbers
I need to do a validation using regex, how do I validate if a string is coming with repeated numbers? for example "1111","2222","3333"
-
2
votes3
answers6138
viewsQ: Mount Regex to validate password
someone would know to set up a regex to validate numerical and alphabetic sequences of at least 4 digits, like : 1111/1234/abcd/4321/dcba?
-
3
votes2
answers870
viewsQ: How best to reuse code between modules
I am developing a tool using Angularjs, but I am constantly picking it up, I need to reuse code from different modules and files, but it is not working properly. With pure javascript, it’s easy to…
-
2
votes1
answer149
viewsQ: Injection of dependency into service
Guys I can do dependency injection in services? for example, I tried this: service 1 var crypto = angular.module('crypto',['ngRoute']); service 2 var teste = angular.module('userlog',['crypto']);…
-
0
votes2
answers82
viewsQ: One Function does not recognize the other
I’m having trouble setting up a service for Angularjs, I call a function and when it calls another says it does not recognize as a function what was called Uncaught TypeError: teste.redirect is not…
angularjsasked Victor Siqueira 638 -
1
votes1
answer82
viewsQ: Directive as Function parameter?
Is it possible to set directives as parameters of a Function already on the html page? I tried to do serviceLogin({{login.user}},{{login.pass}})but I don’t think it’s right
-
1
votes2
answers1143
viewsA: Receive variables from other classes
I would create the object of the class in every corner that you need to change, and create a method to change the values of those that you think need to be changed
-
1
votes1
answer96
viewsA: Problem loading Maps v2
it is nice that you use getLastLocation to recover the value of your position, also check if the gps is enabled and by the way of doubt, creates a Latlng obj with the value "0,0", probably he is…
-
3
votes2
answers171
viewsQ: How to fix this error correctly?
Error: [$injector:unpr] http://errors.angularjs.org/1.4.5/$injector/unpr?p0=%24scopeProvider%20%3C-%20%24scope%20%3C-%20LogUserService at Error (native) at…
-
6
votes1
answer161
viewsQ: What is $Scope.Answer?
I’m new to Angularjs, I would like to understand what $Cope.Answer is really for, I didn’t find anything in the official documentation or on the web, I just saw it in an example I took in a…