Questions tagged as 'angularjs'

1
answer

How to pass the data from a checked checkbox to a modal?

I would like to know how I can, when selecting a checkbox, take this data and throw it in a modal. In the code below, I want to pick only the selected charters from a post and make only those selected appear in the modal. How do I do? I've tried...
asked by 06.10.2017 / 17:15
1
answer

sort with AngualrJS / orderBy by a field that will be created later

I'm using Ionic 1 with angular js. I need to sort a result by a field that should be created later, the field is the distance from the first address of the company, in orderBy I do not know what to put, and also the object is not being genera...
asked by 06.10.2017 / 15:00
1
answer

Function combination javascript

Hello, I have two functions that work separately very well, but I need to combine them now to organize the result of the other. Organs Function: $scope.$watch('organ_id', function (newValue, oldValue) { if (newValue != null && ne...
asked by 14.09.2017 / 19:27
1
answer

Angle Problem ui.bootstrap.modal

Starting a modal with ui.bootstrap.modal $ uibModal, seveni controller and controllerAs, in console.log I see that the instance controller was started and the object loaded when clicked, but within the modal I can not display the data, someone c...
asked by 20.11.2017 / 19:56
1
answer

Element not visible - Protractor

Failed: element not visible I am trying to access a menu item, but it is returning as not visible. I tried two ways: var formalizationLink = element(by.id('menu7')); browser.executeScript("arguments[0].scrollIntoView();", formalizationLin...
asked by 11.09.2017 / 20:04
1
answer

Angular + Angular Material even without error does not look like anything

When I start my application, there is no error, but nothing appears on the screen. <!DOCTYPE html> <html> <base href="/"> </base> <head> <meta name="viewport" content="width=device-width, initial...
asked by 12.09.2017 / 16:07
1
answer

Error: cribsFactory.getCribs is not a function

I have this controller angular .module("ngCribs").controller("cribsController", function ($scope, cribsFactory) { $scope.cribs = cribsFactory.getCribs(); }); and this factory angular.module("ngCribs") .factor...
asked by 03.09.2017 / 07:18
1
answer

Input field is not loading default value "value"

I have the field: <div class="form-group"> <label style="color:white" for="valor">Valor</label> <div class="input-group"> <input type="number" value = "0" class="form-control" step="any" name="valor" ng-mod...
asked by 30.08.2017 / 21:51
1
answer

Filter list from similar strings

My question is how do I, using the angularjs filter, to filter items in a list from string attributes. These attributes are similar, 'relevant' and 'non-relevant'. <select class="select input" ng-model="classes"> <option value="re...
asked by 16.09.2017 / 02:18
2
answers

How do I pass one parameter to another scope with angularjs?

I have a screen that contains a list of information, when clicking on some item I can get its number, for example: Item 5 of array . The problem is that on another screen I need to display the information of the item that was clicked, and I'...
asked by 01.03.2015 / 00:00