I'm having some headaches, because I need to create a function that allows validating when the link should redirect to the location or when it should not, for example, I'm loading an image and clicking the link should not load, I created a funct...
Hello, I'm creating an authentication and verifying system with Angularjs, I'm using stateChangeStart to validate the permissions in view.
Only when I use $ state.go ('app.home'); it goes into infinite loop.
My code is as follows:
$roo...
In a view responsible for registering members of the usuarios entity, if it is necessary to access data of a pessoas entity, for example, the ideal method is that the method that will search the data of this pessoa belongs t...
I would like to know how I can do to call a function that is in another controller example:
I am in the 'Cadastro' view and after registering I am redirected to view 'Home' in controller of Home I have a function that receives a...
I have a code that generates a Json file in this format:
[
{
"$id": "1",
"poule": 73,
"idusuario": 4,
"vendedor": "ITAMAR SOUZA",
"total": 50.00,
"datajogo": "2016-01-19T00:00:00",
"terminal": "(11)985590116",...
Good afternoon,
I have an array of objects and display them in a list, in the list there is an input to insert new objects.
I want to make a button where I would create a new list that is zeroed and with the same input to insert new objects....
How do I validate when there is a change in the screen and the user clicks on another hyperlink to leave the screen, it can not allow.
Is there any ready-made angular function that performs this check?
At the moment I'm trying to use the...
Good evening!
I have the following:
var carregarUsuario = function () {
$http.get("buscar.php").then(function (retorno){
console.log(retorno.data);
$scope.usuarios = retorno.data;
});
};
carregarUsuario();
And PHP...
Hello, I'm developing an application with the OnsenUi framework (Cordova in visual studio)
But the code below opens the url using the application itself as a browser. At the end of the day doing this, if I need to use the alicative, I have to op...
I have an application with AngularJs , in this application when I make some changes and then deploy the browser does not recognize those changes. It only works when I change the URL of that application.
I got some tips her...