Questions tagged as 'angularjs-directives'

1
answer

Using the filter in ng-repeat in jade templates

Personally I think I'm doing something wrong but I can not find the error in the code. ul(class='list-group') li(class="list-group-item", ng-repeat="v in votadas | filter: '-votos'") h4 Música: {{ v.titulo }} | Votos: {{ v.vo...
asked by 12.12.2015 / 22:28
0
answers

ngTable in a policy does not work

I'm trying to create a directive that uses ngTable to paginate my tables, but I was not successful. Abstracts the angular code that is used to paginate by throwing it inside a directive, so you do not have to keep replicating that code...
asked by 30.04.2015 / 04:37
0
answers

Kendo UI Grid in an AngularJS Directive

How to create a Kendo-grid with reusable options using AngularJS? In addition to the default settings, the grid must dynamically include a checkbox column with the option to select all rows. Methods to handle selections should be part...
asked by 01.05.2014 / 21:08
1
answer

Ng-repeat and AngularJs beginner error

I'm starting at angular and I still do not understand the workflow of it. The code below does not work: <body ng-app> ... <div ng-controller="Grid" class="gol-grid"> <div class="row" ng-repeat="row in board track by...
asked by 01.12.2014 / 20:11
0
answers

Render Iframe google Maps with AngularJs

I'm setting up a directive to render an iframe from google maps within my app. And I managed to do it this way: <google-iframe location="item.Location"></google-iframe> directive.js function googleIframe() { var directi...
asked by 20.11.2014 / 21:24
2
answers

How to use template in directives with restrict M (comments)?

I am trying to use the restrict option with the value 'M' (for angular work through comments) to create a directive. But the comment is not embedding the value I'm adding in template . See: angular.module('example',...
asked by 01.09.2016 / 19:04
2
answers

How to implement features of the Angular?

A short time ago I have studied AngularJS through materials like this; Online Course on YOUTUBE about AngurlaJS > > > > CLICK HERE. So what he teaches shows that we should link the angular.js file according to video lessons;...
asked by 20.05.2016 / 14:27
2
answers

How to use .directive, modularization and layering? AngularJS

OBS: Until I understood the whole thing, the problem is that I can not do with this code the information that passed me, type nothing. And when I do it does not work. Can someone please help me ?? Hello, I have a serious problem with unders...
asked by 09.10.2015 / 13:38
1
answer

Would it be interesting directives using http.get?

This is a html piece: <tr ng-repeat="projeto in projetos"> <td>{{projeto.name}}</td> <td>{{projeto.status}}</td> </tr> It uses a controller that does the following function $http.get('system/p...
asked by 22.04.2017 / 04:33
2
answers

Angular Directive

I'm having a little problem creating two buttons using angular directive only 1 is appearing. How do I solve this problem? <div class="row"> <meu-painel class="col-md-2 painel-animado" titulo="{{foto.titulo}}" ng-repeat="foto in fotos...
asked by 11.05.2016 / 17:45