Top "Angularjs-directive" questions

AngularJS directives are a way to teach HTML new tricks by extending the HTML vocabulary.

Find child element in AngularJS directive

I am working in a directive and I am having problems using the parameter element to find its childs by …

javascript angularjs angularjs-directive
Using ng-click vs bind within link function of Angular Directive

In the link function, is there a more "Angular" way to bind a function to a click event? Right now, …

angularjs angularjs-directive
Call a method of a controller from another controller using 'scope' in AngularJS

I am trying to call a method of second controller in first controller by using scope variable. This is a …

angularjs angularjs-directive angularjs-scope
how to call service method from ng-change of select in angularjs?

I am new to angular js. I am trying to call factory service method 'getScoreData' from ng-change of select, but …

angularjs angularjs-directive angularjs-service angularjs-factory angularjs-ng-change
trigger click event from angularjs directive

How can i trigger a click event for li elements specifying their index from the angularjs directive? I have tried …

events angularjs click angularjs-directive
angularjs ng-style: background-image isn't working

I'm trying to apply a background image to a div by using the angular ng-style ( I tried a custom directive …

javascript angularjs angularjs-directive angularjs-ng-repeat ng-style
Add directives from directive in AngularJS

I'm trying to build a directive that takes care of adding more directives to the element it is declared on. …

javascript angularjs model-view-controller mvvm angularjs-directive
AngularJS accessing DOM elements inside directive template

Is there a more "angular" way of selecting DOM elements inside a directive template? For example, say you have this …

angularjs angularjs-directive
Change class on mouseover in directive

I am having trouble working out how to get a class to change on a nested directive. This is the …

angularjs angularjs-directive
How to use the 'replace' feature for custom AngularJS directives?

Why does replace=true or replace=false not have any impact in the code below? Why isn't the "some existing …

angularjs angularjs-directive