AngularJS directives are a way to teach HTML new tricks by extending the HTML vocabulary. Directives allow you to manage DOM elements in a declarative pattern, freeing you from low level DOM manipulation tasks.

learn more…| top users | synonyms

0
votes
0answers
7 views

Change class on mouseover and scroll dependent on offset

I have the following directive, which resizes the navbar on scroll. This works fine, but when I hover the mouse over the navbar, I want to to remove/add a class depending on the offset. However, ...
0
votes
0answers
5 views

Webcam directive does not work in Firefox 58 (AngularJS)

The Firefox webcam has stopped working. I use the following directive https://github.com/jonashartmann/webcam-directive.I do not know where the problem might be, but for some reason the following ...
0
votes
1answer
16 views

AngularJS setting directive scope variables from a service

OK so I am trying to make a simple chat widget directive and I want it to be dynamically created wherever I want it on my app ie I do not want a hard coded solution. So I want the directive to be ...
0
votes
1answer
21 views

Multiple controllers for a single template view

In angularjs, I have already made view templates consisting of multiple controllers. Now while routing can we specify multiple controllers to one template or there should be only one controller for a ...
1
vote
1answer
32 views

Angular JS two-way bound variable does not update parent scope

My understanding of AngularJS directives is pretty poor. What I've been trying to do is use this mediaLibrary directive as a popup, so I can add media library items to a portfolio item (like images to ...
1
vote
0answers
15 views

How to bind events inside directive on every element children using AngularJS?

I want to bind a click event on every children from inside parent directive. I tried iterating through the element with angular.each but with no successHTML<parent-component>...
0
votes
1answer
14 views

Passing ID as parameter into Custom Directive AngualrJS

I am using this directive that exports html table to csv: myApp.directive('exportToCsv', function () {return {restrict: 'A',link: function (scope, element, ...
0
votes
1answer
30 views

How to apply ng-repeat on carousel with multiple items using angular js?

<div class="carousel slide" id="myCarousel"><div class="carousel-inner"><div class="item active"><div class="row">&...
0
votes
1answer
16 views

Angular js 404 error with angular template variables even when using ng-if on page load?

Why is thisINFO 2018-02-16 21:32:33,192 module.py:788] default: "GET /%5B%7Binstance.file_url%7D%5D HTTP/1.1" 404 233showing up in my terminal given that instance.file_url is used in <a ...
0
votes
0answers
18 views

AngularJS multiplication not working for VAT

I've got some simple Angular maths going on.My subtotal input field adds the various fields together fine. Unfortunately the VAT is not getting calculated. If however I name the subtotal input ...
-5
votes
0answers
21 views

Need help understanding the flow of data in Angular? [on hold]

I am having a lot of difficulty understanding the flow of Angular components, services, controllers, etc etc. Can anyone explain the flow of this github project for me? Basically, what each part is ...
-1
votes
0answers
13 views

Upload multiple files in swift container via openstack gui?

I want to upload multiple files in an AngularJS form. How to do this for the form in given link https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/static/dashboard/...
0
votes
0answers
21 views

Can ng-include load controller defined within including html file in <script> tags (or any other way)? [duplicate]

main.html<script src="http://stackoverflow.com/main.js">var app=angular.module('myApp', []);</script><div ng-include="'login.html'"></div>login.html<script src="http://stackoverflow.com/Components/...
1
vote
1answer
16 views

SetViewValue in directive does not update the actual value in angular model

I have a pop-up which inputs a value and save the value before closing the pop-up.If I enter a valid amount for the input, the code works fine. But if I entered an invalid value (ex: input amount='...
0
votes
0answers
8 views

Web-scrapping with Python and PAMIE - AngularJS and JavaScript Troubles

My goal is to download an Excel sheet from an intranet website by "clicking" a button using a Python (2.7) script. I'm stumped when it comes to clicking this button because I am very unfamiliar with ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,