Questions tagged as 'angularjs-directives'

1
answer

Create a policy

Hello, someone could help me, I am just starting my angular teachings and would like to know how I would create a directive for the list of categories and tasks. I have no idea what could be done if you can help me. HTML: <body> &...
asked by 25.10.2015 / 05:39
1
answer

Angular JS ordering in the table does not change

I am making a call from the server to a user list, the result arrives quietly, but the sort order is not working. HTML <div class="table-responsive"> <table class="table table-striped table-responsive">...
asked by 08.12.2015 / 20:55
1
answer

Clear input - ng-model - change

I have md-select where according to the selected, I create some div's using ng-if . These created divs have in 02 of them, equal models (ng-model). Therefore, when performing the md-select switch to another that has the same model,...
asked by 27.06.2018 / 13:54
1
answer

How To Catch The Variable Of Another Component

I have the following situation. utils-nav-user.component.html <nav class="navbar fixed-bottom navbar-expand-lg navbar-dark bg-dark"> <a class="navbar-brand text-white">ESC - Sistema De Controle De Pizzaria - </a> <a...
asked by 15.02.2018 / 03:00
2
answers

Create Directive Attribute for date Month / Year in Angular JS

How to create a Month / Year date format I have developed the code below, and it is not going through the consoles menus, that is, it is not entering the link: Note: you are not giving any errors on the console. <div class="form-g...
asked by 18.12.2017 / 13:13
2
answers

Angular does not recognize an out-of-control variable

I have a doubt, I have already tried other forums and I did not find the solution. I tested the code below for demonstration purposes only. *//dentro do controle do angular* angular.module("NaBalada").controller("NaBaladaLocal", function(data)...
asked by 26.04.2017 / 01:08
1
answer

AngularJs - directives do not work via ajax

I have a page: index.php and app.js . on my app I make a load to main.php which is the initial loading of the site. within main it will get select , div with ng-repeat , ng-source...
asked by 02.11.2016 / 07:27
1
answer

Message appears in modal and page at the same time

I created a "message center" in Angularjs that injects messages on the screen. The message always appears when an error occurs in the REST or success operations. This is done by an interceptor that checks whether the response has a message heade...
asked by 04.03.2016 / 13:05
3
answers

$ scope Form Angular Directive

I'm having trouble creating a directive at the following point. I have a list of data, and in this list I have a controller callController, and in this list page I have a modal that calls a template made with the directive: angular.module('...
asked by 09.11.2015 / 19:08
1
answer

How to use an ng-class in the html tag

I'm using the AngularJS framework and I need my tag to receive a dynamic class example: <html lang="en" id="ng-app" ng-app="app" ng-class="app.title"> </html> This app.title will receive a mongo value. Can anyone tell me if t...
asked by 30.12.2014 / 18:37