Questions tagged as 'angularjs'

1
answer

AngularJS - directive and view are not working correctly

I'm making a small application for my internship, for studies and everything else, but even though I'm following all the steps, there's something wrong, I can not make angular (version 1) render the view or the directive and never return an erro...
asked by 21.03.2017 / 17:06
2
answers

Refresh page without losing the value of a variable

I have a vector that receives data coming from a socket that I use for notifications to the user, however every time I change pages I lose all the value coming from this variable, I'm using angular on the front end. How can I navigate the system...
asked by 04.03.2017 / 15:26
1
answer

Angular - keep tabs created when updating page

In the example link , the button perfectly creates the tabs, but when I give F5 on the page it is only the first tab. How do I keep the tabs created by the button when updating the page with F5?     
asked by 18.03.2017 / 18:58
0
answers

Enabling CORS in the Angular

I'm trying to enable CORS in Angular in 2 scenarios. 1 - To test the application with the Chrome Debug with local file (file: //). This I was able to give a bypass with the command line option --allow-file-access-from-files 2 - For nor...
asked by 12.03.2017 / 04:22
0
answers

angularjs - Create a single list by taking data in more than one class

Srs., good afternoon! I'm trying to create a list to be displayed in a view, to fill the list part of the information I get in a certain class (Escalation) and other information I should get on other classes, for example (PeopleObject). Th...
asked by 03.04.2017 / 20:36
1
answer

Receive data from a select in the Angular

I'm doing a select for a REST service, using Angular. But the page that should have the populated table with the data coming from select, goes blank. In my page, I have an input and a button, which triggers the function that goes to the servi...
asked by 28.02.2017 / 01:28
2
answers

Pass Token by the header to each request AngularJS (Authorization)

I have the interface-factory.js file that is my factory app.factory('interfaceAPI', function ($http) { var _getInterface = function () { return $http.get("/api/interfaceapi/getall"); }; var _postInterface = function (objeto) { return...
asked by 16.03.2017 / 14:53
1
answer

Remove mandatory input with angular

I have a question with angularjs, I am doing a registration form, and have a certain form that I am doing a validation and has an option to insert several phones, it inserts the phones clears the input data and goes to a list with angular repeat...
asked by 11.03.2017 / 17:20
1
answer

Errors with Put and Delete Methods - MethodNotAllowedHttpException - Laravel and Angular

Hello, follow my fight with angular and laravel. Now I'm having trouble with the put and delete methods, I did nothing more than I had before in my code, I'm just adding more models - where I copy the previous code and dumb the names. But...
asked by 23.02.2017 / 17:28
1
answer

Problems with angular and http-server routes

I put the $ locationProvider.html5Mode (true); on my routes to take that #! URL. I'm not sure if this is a good way to do this, but I do not know how to do this. This happened to happen when I started using $ locationProvider.html5Mode. As a...
asked by 07.03.2017 / 18:14