Questions tagged as 'angularjs'

2
answers

Security with AngularJS and Rest

I'm starting with AngularJS and Rest (Java JAX-RS) and I have a question. The functions responsible for Rest requests are easily viewed via the right-click browser Exibir código fonte da página . So, anyone in possession of this can...
asked by 18.09.2015 / 16:38
1
answer

How to use Angular JS and Laravel 4 without conflict with the blade?

I would like to know how do I configure Laravel 4 to use AngularJs without conflict with the Blade, since the interpolation tags are the same?     
asked by 17.02.2016 / 12:04
1
answer

What is $ scope.answer?

I'm new to AngularJS, I would like to understand what the $ scope.answer really is for, I did not find anything in the official documentation or the web, I just saw it in an example I took in a tutorial, but I did not understand the importance o...
asked by 14.10.2015 / 15:13
1
answer

Problems to add values using Angular JS

See the final result: <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--inserindo a meta tag de keywords onde definimos as palavras chaves--> <meta name="keyw...
asked by 31.12.2015 / 14:43
1
answer

AngularJs duplicating (briefly) ng-repeat list when making new inserts in the bank

I'm working with an application where in a view I own the product register of a company, or its clients, suppliers, etc. Each view serves a specific area, however each view works with various data and data flow, such as addi...
asked by 25.11.2015 / 01:44
1
answer

What is the importance of using "track by" in "ng-repeat"?

Whenever I see an article on the internet about optimizing rendering time for ng-repeat , I see comments about the track by option. Example: <div ng-repeat="task in tasks track by task.id"></div> As far as I unde...
asked by 16.11.2017 / 19:07
3
answers

Problems adding item to array with AngularJS

I'mbuildingashoppingcartwithdynamicoptionswithAngularjs.Theproblemishere:{ "14": [ { "id": 3, "forma": "Alface", "preco": 1 }, { "3": 1 } ], "15": [...
asked by 26.02.2015 / 04:49
1
answer

Use the direct Angular routes of the HTML file

I need to develop an offline app where it will be accessed directly from the HTML file, as far as I know Angular needs the HTTP protocol to perform the routes yet. Eg: The URL will thus be file://angular-project/index.html/#/lista inst...
asked by 06.04.2015 / 19:01
1
answer

infinite scroll in Angular Js with external JSON

I'm having a bit of trouble regarding the creation of an infinite scroll in angularJS from a JSON file generated on an external site. What I need is that the infinite scroll be called when the item of variable posts is equal to 10, callin...
asked by 02.07.2015 / 22:42
1
answer

How to make an HTTP request in the Angular, and have functions that return all JSON elements or just one last parameter?

I'm new to Angular and Ionic, and I want to build a factory that gets a JSON from googleapis, and contains two functions, one returns all elements, and another that returns the element that is passed the index by parameter. I'm trying, like t...
asked by 08.10.2015 / 19:33