AngularJS directives are a way to teach HTML new tricks by extending the HTML vocabulary.
What is the 'Angular way' to set focus on input field in AngularJS? More specific requirements: When a Modal is …
angularjs angularjs-directiveI've read the AngularJS documentation on the topic carefully, and then fiddled around with a directive. Here's the fiddle. And …
angularjs angularjs-directive angularjs-scope isolated-scopeI am handling my issue like this: ng-style="{ width: getTheValue() }" But to avoid having this function on the controller side, …
angularjs angularjs-directiveI want to catch the enter key press event on the textbox below. To make it more clear I am …
angularjs angularjs-directive angular-uiI have a directive, here is the code : .directive('map', function() { return { restrict: 'E', replace: true, template: '<div&…
angularjs angularjs-directiveI need to be able to add for example "contenteditable" to elements, based on a boolean variable on scope. Example …
angularjs angularjs-directiveI'm looking for any manner of accessing the "parent" scope within a directive. Any combination of scope, transclude, require, passing …
angularjs angularjs-directiveIn Angular 2, how can I mask an input field (textbox) such that it accepts only numbers and not alphabetical characters? …
html angular input angularjs-directiveI'm trying to set the src attribute of an iframe from a variable and I can't get it to work... …
javascript html angularjs iframe angularjs-directiveI am trying to setup a confirmation dialog on an ng-click using a custom angularjs directive: app.directive('ngConfirmClick', [ function(){ …
javascript angularjs angularjs-directive angularjs-scope