AngularJS directives are a way to teach HTML new tricks by extending the HTML vocabulary.
When a user scrolls their browser window below a certain point, I am toggling the class of the #page div. …
angularjs angularjs-directiveCurrently, my app has a controller that takes in a JSON file then iterates through them using "ng-repeat". This is …
javascript json angularjs angularjs-directive angularjs-ng-repeatI have a directive that has its own controller. See the below code: var popdown = angular.module('xModules',[]); popdown.directive(…
javascript jquery angularjs angularjs-directiveI have a text input. When the input receives focus I want to select the text inside of the input. …
angularjs angularjs-directiveI have a variable that will be used by one or more Controllers, changed by Services. In that case, I've …
angularjs angularjs-directiveI cannot seem to find a way to call a function on the parent scope from within a directive without …
angularjs angularjs-directive angularjs-scopeI hope I haven't missed anything obvious in the doco, if I have I'm sure someone will help. I'm using …
angularjs asp.net-web-api angularjs-directiveWith isolate scope the template of the directive does not seem to be able to access the controller ('Ctrl') $rootScope …
javascript angularjs angularjs-directiveI'm working on the template for a directive. If a property in the scope is set to true, data-toggle="dropdown" …
angularjs angularjs-directiveI am asking this question because I am not quite clear on how to think of rootscope as a dependency …
angularjs angularjs-directive angularjs-scope rootscope