Questions tagged as 'angularjs-directives'

1
answer

Dynamic directives with angular js

I'm building an application that needs to render a dynamic form. The form data comes from a json , and in it, I have the fields configuration. Here's an example: { "Fields": [ { "title": "Assunto", "type": "text" }, { "title"...
asked by 26.02.2015 / 23:29
1
answer

Reuse component in another component and get the data of the child in Angular

I made a ZIP search component this way: I created the component, its HTML is: <fieldset [disabled]="isLoading"> <div class="row col-md-6"> <div class="row"> <div class="col-md-4">...
asked by 25.11.2018 / 18:14
2
answers

Countdown incorrect date

I'm using Countdownjs to insert a count in my project but it is returning the wrong day. I'm using AngularJS, here's the directive I created for the count: .directive('tempoPercorrido', function($interval){ return { link:...
asked by 15.03.2017 / 19:21
1
answer

Show which policies are being used on the page

Is there any way to find out which policies are being used on a page? Below is an example <div> algumas coisas ... <minhadiretiva></minhadiretiva> <minhadiretiva1></minhadiretiva1> <minhadiretiva2></mi...
asked by 03.10.2016 / 12:51
1
answer

When clicking on link perform reload on div with Angular. ng-click, ng-include, controller

Hello! I have this link: <ul class="nav child_menu"> <li><a href="graficos.html">Gráficos</a></li> </ul> Clicking the link should display grafico.html through ng-include : <div ng-in...
asked by 20.05.2016 / 19:07
1
answer

How to set a start date in this countdown counter made in AngularJS

I created a module in Angular JS that takes the current date of the clock and starts counting until the end, but I need to be able to set a starting date to start the count that is not based on the clock, how do I do this? angular.module('...
asked by 29.08.2015 / 00:37
1
answer

Problem with DatePicker Angularjs

Good evening. I'm using directive to datepicker and I'm getting the following error. TypeError: Cannot read property 'split' of undefined at Object.DPGlobal.parseDate (http://localhost:8080/ltfinaceira/assets/js/bootstrap-date...
asked by 07.09.2015 / 01:03
1
answer

ui-select - How to put attribute "name"

Problem here to vary, someone has worked with ui-select, I'm using a project here in a client registration form to select states and cities, it's working beauty, but it does not accept the "name" attribute and nor "required" so that I can pick i...
asked by 22.06.2015 / 13:46
1
answer

Angularjs - ng-show directive is not working in java application

I'm trying to use the ng-show of AngularJS directive in a Spring MVC application, but I'm not getting it, it's simply not working. Note: I'm using AngularJS normally, the other directives, but ng-show and ng-hide do not work...
asked by 14.03.2015 / 20:38
2
answers

Synchronize objects, from the same Array, with the index of different pages

Use the angular-bootstrap-lightbox , which serves to show enlarged images by clicking on they. I put the images on different pages, using ng-repeat and custom filter | filterBy: ['id']: ''" , only the image of the first object i...
asked by 21.01.2015 / 00:47