Questions tagged as 'angularjs-directives'

1
answer

AngularJS - directive and view are not working correctly

I'm making a small application for my internship, for studies and everything else, but even though I'm following all the steps, there's something wrong, I can not make angular (version 1) render the view or the directive and never return an erro...
asked by 21.03.2017 / 17:06
1
answer

AngularJS - Call directive when reshaping page

I have a directive that determines the size and width of some elements, but when I change the size of the page it does not adapt. I would like a way that when the user changes the dimensions of their browser the angular call back to directive....
asked by 14.02.2017 / 22:29
1
answer

Map opens bugged

Good morning! I have a web application, where I use a leafletjs map ( link ) and openstreetmap as tile . The map works perfectly, I can interact in any way (add markers, create layers, zoom ..), but when I access the page where the map is,...
asked by 05.01.2017 / 12:54
1
answer

Return value of the current row of a tree of the directive tree-grid-directive

I'm using the tree-grid-directive ( link ) in an angularJS application and would like to know how to return the object that represents the current row in the tree. For example, I have the following definition of columns: $scope.col_defs = [...
asked by 02.12.2016 / 17:43
1
answer

When you place several graphs on a page, the graphs repeat the points of the previous one

I'm developing an application using AngularJS and Highcharts, which: 1- Retrieve a list of objects from a Webservice function getColetorPorSala() { webService.getColetores($scope.device, $scope.token).success(function (data) {...
asked by 22.11.2016 / 14:44
1
answer

Scrollbar in ng-view does not work

Galera, the following problem occurs with me: I'm doing a web application and I'm using Angular.js as a framework. I have a div with ng-view and every time I load a page that needs the scroll it does not appear and the page is halved. But I give...
asked by 13.10.2016 / 15:03
1
answer

AngularJs - the ng-class directive is not working

I'm trying to apply this class to this when I roll the page to fix my menu at the top of the screen, but the class is not being set: <div class="page-header-menu" ng-class="{'fixed':(document.documentElement.scrollTop > 74)}"> <...
asked by 22.09.2016 / 22:46
1
answer

Display the ng-model JSON as the selected option of a dropdown

Hello, I'm wondering if this is possible. For example, I have a dropdown with a JSON array of strokes in ng-options : <select name="curso" ng-options="curso.cursoId.sigla + ' - ' + curso.cursoId.periodo for curso in cursos" class="for...
asked by 29.08.2016 / 01:25
0
answers

angular-scroll-animate does not work when scrolling

I'm developing a mobile application using angular, and I'm trying to build a timeline like this: link documentation here: link The problem is that the angular-scroll-animate directive is not firing when there is page-rolling, and I hav...
asked by 06.05.2016 / 15:23
0
answers

Angular does not update screen

angular.module("manuais", []); angular.module("manuais").controller("manualCtrl", function($scope) { $scope.capitulo_itens = [{ cod: 1, cod_capitulo: 1, tipo: 1, texto: "Titulo de um elemento", arquivo: ""...
asked by 04.05.2016 / 15:14