Questions tagged as 'angularjs'

2
answers

How to pass input value with POST method using Angular

I am trying to pass certain values from a input through the POST method using Angular, however I am not able to pass those values in the URL and not even get them on the server. Could someone help me solve this problem? Detail, for eac...
asked by 20.01.2016 / 18:17
2
answers

Best way to perform Dependency injection in Angular JS [closed]

I'm working on a fairly large system where I'm building several modules and I needed to be coherent. I'm currently centralizing the dependency injection into a single module, which I believe is not the correct one, since the idea of a module is...
asked by 18.01.2016 / 16:43
2
answers

What error is this that appears on the console, turning angular?

I'm creating a web application with angular and I can not make the login screen appear in index.html, out that an error message appears in the console.    Uncaught Error: [$ injector: modulerr] link $ injector / modulerr? p0 = weset & p1 =...
asked by 23.02.2017 / 14:23
1
answer

How to get data object in php?

I'm passing an angle object to php, but php insisted and "telling" that the data that is coming is not an object, what should I do? How can I get this data in php? Follow my codes angular: angular.module('app.controllers', []) .controll...
asked by 29.01.2016 / 19:04
2
answers

Check if a record came null from the back end in the Angular

I have a modal where I have two inputs of type text: CPF and Senha . In the input of CPF I have a ng-blur that makes a Request GET every time I change the field. If I type a CPF that exists in the databas...
asked by 18.09.2015 / 13:36
3
answers

Create global function in angular js?

I'm working with $ mdToast which is used in multiple notification locations. I would like to create a global function for it, which would look something like this: function alerta(texto){ $mdToast.show( $mdToa...
asked by 03.12.2015 / 19:04
2
answers

Check empty object AngularJS

I have some fields where I pass some filters for a query in the database. I would like to check if the object is empty, so the query would not be performed. I tried this way: function isEmpty(obj) { for(var prop in obj) { if(obj...
asked by 28.12.2015 / 17:59
2
answers

Update ng-repeat out of ng-view?

I have a fixed menu at the top, where pages are opened via routes in ng-view. In an X view I add a new element to my database, and in the drop-down menu I use ng-repeat to list these elements. When I add something new to the database this...
asked by 16.12.2015 / 21:05
1
answer

How to host my angular application

I have the following directories in my angled application: node_modules/ src/ --client/ ----/app/ ----/index.html --server/ package.json print the files I would like that when the user accesses my site he redirect directly to src / cl...
asked by 27.08.2015 / 04:01
2
answers

Angular edit the values of an object without changing the "original"

I have ng-repeat in Angular whose value of each iteration is an object. When I click on a button referring to the table row where this object is used, a form for editing it is opened, and with that data I fill out this form. So:...
asked by 05.08.2016 / 22:57