Questions tagged as 'angularjs'

0
answers

MutiFuncionall Angular Controller

My idea is to create a multifunctional controller, ie: The controller will be unique, but it will vary the views (in the form of CRUD). Follows the files, structure, and error message. However, when I added a new router inside the .config...
asked by 13.04.2018 / 14:04
1
answer

Problems with required in select in angularJs

Personal I have the following code: <div class="form-group col-lg-6 col-xs-12 " style=" margin-bottom: 0px;"> <label style="padding-top: 4px;margin-bottom: 3px;">Grupo</label> <select class="form-control " ng-op...
asked by 11.04.2018 / 16:36
0
answers

ngRoute otherwise you are not redirecting

Hello, I'm trying to redirect the page when the url invalidates, but I'm not getting it, I've looked in other forums and I've researched but I can not find what it can be ... Follow the source: raiz_app = $("#raiz_app").val(); $routeProvider.w...
asked by 10.04.2018 / 21:46
1
answer

AngularJS / PHP / Javascript - I can not update the value of ng-model

First good evening. I have a simple table that is fed by a SQL database. I developed a button that aims to update the contents of the "ng-model" according to what you type in a simple form. The table is updated through an http.post request. The...
asked by 18.04.2018 / 04:43
0
answers

Error while scanning and comparing values from a list

I have a method where I get an array. I'm trying to scan this array and compare it to a value of a variable. cnaeService.cnaes().then(function (result) { $scope.cnaes = result.data; vm.cnae = $scope.cnaes; var res =...
asked by 10.04.2018 / 17:23
0
answers

ng-sortable with bi directional array

I need to walk through a array of array and create separate lists, using ng-sortable pro user can change the positions of the data. Array () $scope.teste = [{'julio' : 16, 'emerson' : 14, 'aspas' : 13},...
asked by 11.04.2018 / 15:44
0
answers

How do I use a web.config key in the controller?

In my web.config I have the following key: <appSettings> <add key="teste" value="teste"/> <appSettings> What do I need to do to use this key in my controller?     
asked by 02.04.2018 / 16:46
0
answers

How to generate an image from the html2canvas from a view using angularjs

I need to generate an image of the page to insert it into a pdf file that I'm generating from the jspdf library, however the results I found are not working, or generate a pdf without css or generate only part of the page. JS $scope.g...
asked by 09.04.2018 / 13:56
1
answer

No ionic-lab error

I am making an app, but when I use ionic-lab or I access the ionic-lab by the browser it exits an error message and for the server, I have already looked for a lot of the internet, a href="https://i.stack.imgur.com/eG5S5.png">     
asked by 29.03.2018 / 17:06
1
answer

Remove information from within an array with angle

I have an array with some information and it always comes with 4 numbers in front of the names: {id: 1810, name: "2652joaodasilva", username: "", password: ""} {id: 2744, name: "3704DiegoSerri", username: "", password: ""} I would like to...
asked by 28.03.2018 / 21:27