Questions tagged as 'angularjs'

1
answer

JSAngular Multiple ng-repeat

I'm having a hard time creating a loop with ng-repeat , no angle. Next ... I wanted to create tags for every projeto I add, eg: Seethatyoucanaddmoretagsandthereisalsoatextattheendthataddsanewproject,calledAddProjeto,tothec...
asked by 17.03.2015 / 19:47
1
answer

Contraindications in IIFE's

Is there any contraindication to using IIFE's within the context of an object? For example, in the properties begin and created I make the function auto-execute to set the properties at the moment of instantiation of the variabl...
asked by 31.03.2015 / 15:56
1
answer

Using ng-Options as I do filter that interprets exactly the reported value

I'll go through an example just for testing: In this example when I put filter:chart.id='1' , in addition it returns me the id 1 it returns me the id 10, how would I make it return only the id = 1? function TodoCtrl($scope) {...
asked by 31.03.2015 / 20:28
1
answer

How to assign two values in ng-click?

I have this html body that will invert the Boolean variable d.expandedBlog when clicked. It is working normally. <div class="article-blog-icon-comment"> <i class="fa fa-commenting-o article-blog-menu-topbar" ng-click="...
asked by 23.08.2018 / 14:52
1
answer

Creating an App for Sharepoint using Dev, AngularJS and RestAPI

I need to create an app for sharepoint that does the simple task of listing fields from a list on the screen where the App is placed inside Sharepoint. I have the following error: In 'Access-Control-Allow-Origin' header is present on the requ...
asked by 20.02.2014 / 13:50
1
answer

Function being executed from the second click

I have a button in my project, which the function is to make appear a div that is like display none, however the function is only executed from the second click on the button, the first click just selects the button. Would anyone know to tell me...
asked by 15.02.2018 / 19:39
2
answers

How to pass the business id from angular to php?

Hello I need to pass the business id from angular to api in php. How do I do? Here is the code: Angular: app.controller('UploadCtrl', ['$scope', '$window', 'Upload', function($scope, $window, Upload) { var formData = new FormData(); var...
asked by 18.12.2017 / 13:58
1
answer

Converting boolean to YES or NO in Angles

I have the following table structure on my form HTML : <tbody> <tr nr-repeat="p in model.previdencias"> <td>{{p.NomeDependente}}</td> <td>{{p.IsAtivo}}</td> </tr> </tbo...
asked by 13.12.2017 / 01:48
2
answers

How do I make / disappear a button only from one of the ng-repeat loops? (Programming in AngularJS)

My angle code has ng-repeat as follows: AngularJS: angular.module('meumodulo', []) .controller('mercadoria', function($rootScope, $http) { var ctrl = this; $rootScope.listademercadoria = []; $rootScope.mercador...
asked by 23.09.2017 / 04:54
1
answer

Hide ng-repeat item after 5 seconds

I'm doing a to do list app, I'd like to know how to hide an element after 5 seconds after I've selected the item through my checkbox. I have the following HTML structure: <body ng-controller="todoListCtrl"> <div class="container"...
asked by 08.09.2017 / 16:29