Questions tagged as 'angularjs'

1
answer

TypeError: Can not read property of undefined

I'm trying to remove an item from a table, however it returns this error:    TypeError: Can not read property 'endGoal' of undefined       at $ childScopeClass. $ scope.removeGoal follows the part of the angle where the error occurs: $s...
asked by 02.10.2017 / 14:07
1
answer

How to KEEP ONLY what was filtered in AngularJS?

I have the following AngularJS file: <script> angular.module('meuModulo', []) .controller('mercadoriaCarrinho', function($scope, $http) { var ctrl = this; $scope.listademercadoria = [];...
asked by 27.09.2017 / 18:59
1
answer

Project Base in AngularJS with CodeIgniter

Hello, I'm having trouble creating a folder base using angularJS and codeigniter. Some examples I searched on the internet left all of the angular files inside a folder named "app" in the root, other examples left inside the "assets / js /...
asked by 07.11.2017 / 18:54
1
answer

Upload image base 64 to Firebase

Hello, I'm trying to upload images in base64 to the firebase, but I'm getting the following error. I tried to follow the Firebase tutorial on the official website and one found here on the stack itself, but I still get the same error.    {...
asked by 29.09.2017 / 14:17
1
answer

I need an item from my select to be selected, Angular

I have a select component <div class="form-group col-md-4"> <label>Entidade:</label> <select ng-model="distrito.entidade.idEntidade" class="form-control"> <option value="{{dis.entidade.idEntidade...
asked by 02.10.2017 / 20:53
1
answer

How to validate defaultPrevented = false in my test angularjs?

I have the following function: (function () { 'use strict'; angular.module("app") .service('EventHandler', EventHandler); EventHandler.$inject = ['$rootScope', '$location', '$animate', '$state', '$stateParams', '$sanitize', '$q', '$uibModal...
asked by 06.10.2017 / 14:36
1
answer

How to do a URL validation with AngularJS [closed]

I'm working on a project .. however I need to do a validation by taking the current url .. Ex: If(url('https://pt.stackoverflow.com/questions/ask')){ // Aqui vem minha lógica } How do I do this with AngularJS ('am I a beginner in angula...
asked by 19.09.2017 / 16:53
1
answer

Reports in a web application [closed]

I'm developing a web application and I'm needing a help in reporting, I'm new and I do not know what the best reporting tool is, whether through a framework, JS, javascript, or java libraries ; with a newbie in the area would like to know the be...
asked by 31.08.2017 / 21:06
1
answer

Url loads the characters! #% 2F and does not load the correct view in Angular

I'm in my root index.html and it loads normal, but when I type the # plus the / and a view for example the test url view is: strong> index.html #! #% 2Fview-test . I would like to know what! Follow the route code: angular.module('teste'...
asked by 24.08.2017 / 23:44
2
answers

Handling XML with Javascript

I have a question and I already searched a lot and still could not solve. I have an XML with a tag called <child id='minhatag'/> . I need to have javascript read this tag and get me to return the value of the child tag ID so that...
asked by 21.08.2017 / 18:46