Questions tagged as 'angularjs'

1
answer

Angular parameters not required on the route

I have a screen where I need to pass a parameter according to your call, that is, you have calls that do not need to pass the parameter and have calls that are direct queries that need to pass the parameter. My question is how do I not want to...
asked by 27.07.2017 / 02:49
1
answer

Evaluating the $ http response from the factory to the controller in AngularJS

I've created a Factory to perform the operations CRUD in a api REST using $ http service to make a user control. Factory //Listar..Recuperar ..Inserir ...Editar..{...} usuarioService.Excluir = function (id) { var promise =...
asked by 23.08.2017 / 15:16
1
answer

ng-maxlength="1" does not work - Angular

Good afternoon, I have an input of type "number" and I need to limit the number of characters, but the way I'm doing is not working. <input id="turbidez" type="number" ng-maxlength="7" ng-model="turbidez.turbidez" required /> When I t...
asked by 22.08.2017 / 21:45
1
answer

How to avoid typing repeat numbers with angle

How do I not enter repeat numbers in validation? In my current validation, I can leave the field fields mandatory to enable the save button and in this input TaskSelected.order to work, I only validate the button by typing numbers, but can I add...
asked by 03.08.2017 / 16:08
1
answer

First non-angular directive

I'm trying to make a simple directive in angularJS for example. This is a button that receives the class name and text, as follows: var app = angular.module('app', []) .controller('appController', ['$scope', function($scope) { $scop...
asked by 30.08.2017 / 01:30
1
answer

How do I get a URL of angularJs in PHP

I can not get the current URL of angular in PHP, I have already tried to use $ _SERVER ["HTTP_REFERER"], in addition, comes the original path of the file ... Original URL: link I need the parameter to handle in PHP.     
asked by 29.06.2017 / 19:26
1
answer

AngularJS I need to create a list-divider in the middle of a list

Hello! I'm doing a project for college in Ionic using angularJS and in it I have an arraylist with several words, using the orderBy I left them in alphabetical order, but there is a problem, I have to make every time the initial letter changes a...
asked by 30.06.2017 / 03:03
1
answer

How to mount a ng-repeat using track by?

I have the following HTML <div class="col-md-4"> <div class="exibeUnidades"> <table width="400"> <thead> <tr> <td width="100"><b>Profissionai...
asked by 16.08.2017 / 20:21
2
answers

How to pass data from a selected item on an ng-repeat to another view

Good morning, Srs., How can I pass data from an item that has been selected within a ng-repeat list to another view? Here is the code from the first view: <div ng-repeat="jogador in dadosjogador | filter:{xid:equip...
asked by 03.06.2017 / 12:16
1
answer

Angled Bind with Canvas

Good morning, I would like to know if it is possible to bind and / or force the angular bind with the canvas. My problem is this: I'm using the canvas to give a graphical representation of my client and for UI I'm using angular 1.6.2, but whe...
asked by 29.05.2017 / 10:58