Questions tagged as 'angularjs'

2
answers

Change page title with angle2

I am developing a site in angular2, as I do not yet have an in-depth knowledge I am having difficulties in SEO, following the documentation I created a simple function public constructor(private titleService: Title ) { } public setTitle( new...
asked by 16.06.2017 / 19:02
2
answers

Get value from the variable in the return of the function

$scope.fetchData = function (param) { var url = param; var thumb; var imgid = get_numbers(url); var hash = ("http://vimeo.com/api/v2/video/" + imgid + ".json"); $http({ method: 'GET', url: hash }).then(function success...
asked by 16.06.2017 / 18:31
1
answer

Pass variable angularjs through function JS

I have a dynamic modal in Jquery that is called with onclick="ShowModal()" working. However, I want to send values coming from AngularJS and I can not. It sends the code AngularJS {{dado.idUser}} , but not the 01 value....
asked by 01.02.2017 / 17:58
1
answer

View information in HTML with angular

Hello, people, I'm a beginner in angular, javascript, and so on. I'm trying to display the information from a json returned by a php script, but I'm getting this error:    Duplicates in a repeater are not allowed Angular: angular.module...
asked by 07.02.2017 / 19:33
1
answer

Join two objects in one with conditional attributes in JavaScript

I have the following dilemma, I need to mount an object to send to a API rest . But I have data that starts from a variable. I thought of several ways to do this but I do not know which one is right, or if none of them is right. if (true...
asked by 06.02.2017 / 20:45
1
answer

Error in Reactive Native when generating Android app

I'm running the commands: react-native init AwesomeProject cd AwesomeProject react-native start And then this command: react-native run-android The error that appears: How to fix this error ??     
asked by 03.04.2017 / 21:29
1
answer

Display datepicker according to selection

Good afternoon, I'm breaking my head to display the date as per the user's selection. Example: select 01 - the "From / To" select 02 - Only "To" select 03 - Only "From" select 04 - No dates appear I've created an array, with the dataInitia...
asked by 09.01.2017 / 15:35
1
answer

extract data from a json

I have the following JSON : [{ "ItensReceitaModel": [{ "t0081_id_receita_itens": 1, "t0081_lote": "1233" }, { "t0081_id_receita_itens": 2, "t0081_lote": "123" }], "PacienteModel": { "t0031_id_pessoa": 1, "...
asked by 08.01.2017 / 14:38
2
answers

Circular Dependency http 'Circular dependency found: $ http - AuthService - AuthInterceptor - $ http - $ templateRequest - $ route'

I'm having the problem of circular http dependency in the angular. I've seen other questions with similar subject matter, but the ways I've tried have not been able to resolve the problem yet. My Code: var app = angular.module("app", [...
asked by 15.02.2017 / 02:58
1
answer

AngularJS - remove selected items according to checkbox

How do I get the ids of the selected items from the checkbox (es) to send to the backend and then remove it? <a href=""> **O QUE PASSO POR PARAMETRO PARA A FUNÇÃO? ** <i class="material-icons" title="Rem...
asked by 12.02.2017 / 01:48