Questions tagged as 'angularjs'

0
answers

Get count of total listeners type $ on ('') active in an angularJs 1.xx application

The idea is that I'm trying to debug a wide angleJs 1.xx Web a lot of memory leaks (leak memory) and consumption of resources that make the time to use the Web malfunction or the browser to stop it. The web is based on the ui-router for routi...
asked by 29.10.2017 / 16:58
1
answer

A use of the $ timeout and $ apply () that I do not know if it is correct in angularJs 1.xx

I have had an angularJs 1.xx development to review and I wanted to make sure that the usage I see is correct in many of the controllers of this construction: $timeout(function(){ $rootScope.$apply(); }); Especially within watcher fun...
asked by 29.10.2017 / 17:38
2
answers

I calculate with $ scope

Best regards to all, I have the following problem, I am trying to base myself on a code that works correctly, which is as follows: <!DOCTYPE html> <html> <head> <title> mi aplicacion </title> </head&...
asked by 21.10.2017 / 07:04
1
answer

Error Angularjs 1.6 with uibDatepicker using the template of a component

I get the following error with Angularjs 1.6 and with the datepicker of ui-bootstrap: Error: [$compile:ctreq] Controller 'ngModel', required by directive 'uibDatepicker', can't be found! This error appears only when I use the datepicker in...
asked by 22.10.2017 / 00:22
1
answer

Get the current Element from angularjs, (like this in javascript)

I need to obtain the current element, to be able to manipulate the elements that surround it, but I do not know if that is possible with angularjs, as well as in jQuery that we can manipulate the DOM. Please if someone can help me.     
asked by 12.10.2017 / 20:56
1
answer

Problem filtering arrangements in JS

I have the following scenario: var myApp = angular.module('myApp',[]).controller("MyCtrl", MyCtrl); function MyCtrl($scope) { $scope.telas = [{"ID":1,"Nombre":"Beige","Marca":{"ID":1,"Nombre":"Genérica"},"Material":{"ID":1,"Nombre"...
asked by 15.10.2017 / 21:15
0
answers

insert component into another angular component 4

I want to show one component (one header) inside another, the problem, I think, is that I'm using router-outlet , and when in some component view (parent component) I want to put the component header (child component), and then own content of t...
asked by 16.10.2017 / 16:35
0
answers

Pixels when zooming in cropperjs and angular 4

Good afternoon I am working with Crooper js and angular 4. And when I zoom the background of the work area creates white pixels around the image. as shown in the image.     
asked by 11.10.2017 / 01:00
0
answers

Driver instances in AngularJS

Good morning, what happens is the following: In my controller "MessageListCtrl" I have a $ interval, which makes certain updates every certain time. I also have the $ routeProvider that handles the following: }).when('/labe...
asked by 10.10.2017 / 02:58
1
answer

AngularJS - routeProvider generates invalid url

When I try to call my "option1" file from my templates folder in the url, only appears    link and it does not allow me to accelerate to my route more without encambio if I modify the URL to    link he calls me correctly I defi...
asked by 18.10.2017 / 06:49