Questions tagged as 'angular-directivas'

0
answers

Problem when using angular routerLink 5

I have a problem that I still can not solve and I want to ask for your help. I am using angle 5 and it happens to me that when I use plugins or external libraries in the first load they work perfectly but when I navigate through [routerLink]...
asked by 14.06.2018 / 20:53
1
answer

Directive with conflict in index.html

I have the following dilemma, I have in the index.html the call to a directive called "loggin", when I call the directive on the label, the others stop working, when I remove it, it works normally, the problem is that I need the directive to sho...
asked by 13.06.2018 / 18:01
0
answers

Directive within an index.html and ng-view

My problem is this: I have a directive called loggin, and the whole body body is inside a one that will be shown when I hide the loggin, when I enter the data correctly, the entire body is shown on the screen, with a menu to the left that should...
asked by 09.06.2018 / 04:12
0
answers

clone html elements as selects, radiobuttons in angular 4

How can you clone elements in angular 4? The elements of the component template, for example: <div> aqui hay selects radios y demas <div> Clone the entire section of the div with everything included. There is jquery clone alread...
asked by 07.01.2018 / 20:15
1
answer

problems with variables type using ion-input

Performing a project with ionic 3 I had a very strange problem, I'm working on my file ts I use two variable of type number, but in my file html I have two elements <ion-input> of type="number" and with the di...
asked by 24.11.2017 / 15:58
1
answer

Update $ scope with data from a directive

I have the following directive that I have taken from google (to create a chronometer): .directive('cronometro', function () { var stopWatch = function(elem, options, attrs) { var hora = 0; if (attrs.start == 0) {...
asked by 20.09.2017 / 19:17
0
answers

How to obtain the DATA values of an Object within a Controller?

I have the following code that through a controller brings me an object $resource , those values can not be shown in the view, the code is as follows: 1- The model 'use strict'; (function (){ 'use strict' angular .module('cr...
asked by 08.09.2017 / 22:42
0
answers

Get name Host or Mac from Angular client 2

Good morning. I am looking for information on how to obtain the hostname or the mac number of the client that enters the page. All customers are on the same network. some information would be very useful. since thank you very much. g...
asked by 26.09.2017 / 11:59
1
answer

Get value from ng-model from custom directive

Help to get the value from a custom-directive I have the following code, all I need is to be able to get the value that the text field gets when it is type. The getName function should change the displayed name. I add the code: 'use...
asked by 26.09.2017 / 01:58
1
answer

Error Invalid Isolate Scope Definition in a directive with AngularJS when reopening modal

I have the following problem. I have a modal that uses a directive to which two callback functions are passed and which, when I open the modality for the first time, works perfectly. The problem comes when I close the modal and reopen it. The er...
asked by 15.09.2017 / 12:57