Top "Directive" questions

A concept of 'command' used by many programming languages and frameworks.

Getting "type or namespace name could not be found" but everything seems ok?

I'm getting a: type or namespace name could not be found error for a C# WPF app in VS2010. This …

c# visual-studio reference namespaces directive
How to get evaluated attributes inside a custom directive

I'm trying to get an evaluated attribute from my custom directive, but I can't find the right way of doing …

javascript binding angularjs directive
AngularJS - Create a directive that uses ng-model

I am trying to create a directive that would create an input field with the same ng-model as the element …

angularjs directive
Update Angular model after setting input value with jQuery

I have this simple scenario: Input element which value is changed by jQuery's val() method. I am trying to update …

jquery angularjs bind directive
Angularjs autocomplete from $http

I'm trying to write an autocomplete directive that fetches data from the server using an $http request (without using any …

angularjs autocomplete directive angular-http
Angularjs - Pass argument to directive

Im wondering if there is a way to pass an argument to a directive? What I want to do is …

angularjs controller arguments directive
Calling a function when ng-repeat has finished

What I am trying to implement is basically a "on ng repeat finished rendering" handler. I am able to detect …

events angularjs handler directive ready
How do I pass multiple attributes into an Angular.js attribute directive?

I have an attribute directive restricted as follows: restrict: "A" I need to pass in two attributes; a number and …

javascript parameters angularjs attributes directive
AngularJS - Attribute directive input value change

I've got an AngularJS attribute directive, and I would like to take an action any time its parent input's value …

jquery angularjs attributes directive
AngularJS $watch window resize inside directive

I have revealing module pattern which looks like this: 'use strict'; angular.module('app', []) .directive('myDirective', ['SomeDep', function (SomeDep) { var …

angularjs resize window directive watch