Questions tagged as 'angularjs'

1
answer

$ watch in variable intant with controllerAs

How to make a $ watch to a variable created from an instance of my controller using the controllerAs notation for example var vm = this; vm.myVariable = []; $scope.$watch('vm.myVariable',function(newValue){ console.log(newValue); }); I...
asked by 07.04.2016 / 19:38
2
answers

ANGULARJS WITH GOOGLE MAPS

The first time I use AngularJS with the Google Maps API, the point is to use a .directive to show the google map. app.directive("myMaps",function(){ return{ restrict:'E', template:'<div></div>', replace:true, scop...
asked by 19.12.2018 / 21:08
1
answer

How to use AngularJS in Fiddle

Good! I would like to do a test with a code in JsFiddle with Angular. Esoty trying it putting the link in "External resources" but there is no way to take it. Can someone tell me how is the correct way to do it or tell me the link to a tutori...
asked by 20.04.2016 / 20:28
0
answers

Initial value in oi-select

I have the following select: <span>Primer aspecto critico <span class="text-danger">*</span></span> <oi-select oi-options="x.id as (x.pregunta.nombre ) for x in preguntas track by x.id" ng-model="informe.aspCrit...
asked by 04.12.2018 / 15:55
1
answer

When you login, launch an ANGULARJS component

I want to do, that when I login, launch another component about.html                     </head> <body ng-controller="MainCtrl"> <h3>Login</h3> <!-- Form to get username & Password --> <form>...
asked by 02.12.2018 / 22:43
1
answer

How to make a 3 loop in the hierarchy with angularjs?

What I want is that when I select a department, the municipalities appear to me, and when I select municipalities, the zones appear in that municipality, try this, everything works except the last loop that is the zone: <d...
asked by 17.10.2018 / 00:30
0
answers

Why would JWTAuth not accept Barer in the token, laravel?

I currently have a token authorization with the JWTAuth library, this generates the token correctly when my credentials are correct. The problem arises when I try to send the token from AngularJS, the method is done in the following way: va...
asked by 24.09.2018 / 05:04
1
answer

How to look up various data in an angularjs property by means of Checkbox?

I have two checkboxes, if one is selected, he brings me the men and if I select the other he brings me the women, but I want an option where I can select the two and bring me both. I want to do that with other fields. <body> <div...
asked by 04.10.2018 / 23:47
0
answers

animate changes found in ajax angularjs result

Currently I work the insertions and deletions of registration with ajax in the following way: 1.- I consult all the records that I have and I keep them in $scope.data . 2.- Insert record in base de datos and execute step 1....
asked by 13.08.2018 / 02:20
1
answer

AngularJS - I have the following structure as I come to the table below

I have the following structure as I come to the table below it is important that all be td p:{ 0 :{ s:{ 0 :{fruta:"manzana"} 1 :{fruta:"pera"} } } 1: { s: { 0 :{fruta:"mango"}...
asked by 04.08.2018 / 02:21