I need to update a div after selecting the option in ng-option.
Controller.js
$scope.prop = {
"type": "select",
"name": "Service",
"value": "CDI",
"values": [ "CDI", "IBOVESPA"]
};...
I would like to ask a question, I am doing a soft with Angular 5 and Restful WebService when I test local I can access the URLs normally directly when I try to do this with the application in Heroku does not work, it only works things out when i...
I'm having trouble using a filter in conjunction with ng-repeat.
I have an event json where I want, when selecting an event type in select, the filter returns a new json with only events that have the event type chosen, this is my code
CONTRO...
I have a vector of objects with prices, product name ..., after the customer has clicked on a product I move it to another list, from ordering, after being done this needs to cause me to add the prices of list products and return me a total each...
I need to update the values within the message policy through the maintain-provider-form directive, both of which are within the maintain-provider policy. It's possible ? If so, how do I do this?
keep-provider.html
<cabecalho-interno ent...
I'm trying to open a modal through the view, by the showModal () method, the problem is that I get an error regarding the "editCrtl" controller declaration, which is very strange, since it is already loaded in the index and is perfectly created...
I'm trying to make a listing of places by neighborhood. This data comes from different URLs:
www.example.com/api/lugares/bairro/1
www.example.com/api/lugares/bairro/2
ID of the neighborhood is generated in a control...
Hello,
I'm applying the following function in my AngularJS controller:
$scope.cancelChanges = function() {
$scope.name = $scope.namebackup;
$scope.$apply();
};
However, when I run $ apply (), it shows me the following...