Top "Directive" questions

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

what is the meaning of align an the start of a section?

What is the meaning of align an the start of a section? For example: align 4 a: dw 0 How does it …

assembly directive memory-alignment
Angularjs: how to pass scope variables to a directive?

I am trying to use directive to create and append several tags to a <div> as shown below: …

javascript angularjs scope directive
Define AngularJS directive using TypeScript and $inject mechanism

Recently I started refactoring one of the Angular projects I am working on with TypeScript. Using TypeScript classes to define …

angularjs typescript directive inject
Is there a way to both check a macro is defined and it equals a certain value at the same time

I regularly use object-like preprocessor macros as boolean flags in C code to turn on and off sections of code. …

c macros c-preprocessor directive
Controller 'ngModel', required by directive '…', can't be found

What's going on here? Here are my directives: // template <input ng-model="theModel" /> app.directive('bseInput', function () { return { templateUrl: "/…

angularjs directive
Angular Directive attrs.$observe

I found this Angular Directive online to add a twitter share button. It all seems staright forward but I can't …

angularjs directive
What are the benefits of a directive template function in Angularjs?

According to the documentation a template can be a function which takes two parameters, an element and attributes and returns …

javascript angularjs templates compilation directive
Attribute directive with ngModel to change field value

I want to change (force) input field values while typing using a attribute Directive. With it I would like to …

angular directive angular2-ngmodel
Using ng-hide or ng-show on select box option

Is it possible to hide select box options using the ng-hide directive? http://jsfiddle.net/cr4UB/ <div ng-app …

javascript angularjs directive