Top "Angularjs-directive" questions

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

AngularJS: Call the ng-submit event outside the form

I'm a fish in AngularJS and I have this scenario. <form> <input type="text"> </form&…

javascript html angularjs angularjs-directive form-submit
Angular ng-change delay

I have an input which filters a ng-repeat list on change. The repeat contains a lot of data and takes …

angularjs angularjs-directive angularjs-ng-repeat
AngularJS - how to change the value of ngModel in custom directive?

Lets take a look to my directive: angular.module('main').directive('datepicker', [ function() { return { require: '?ngModel', link: function(scope, …

javascript angularjs angularjs-directive angularjs-model
Enable angular-ui tooltip on custom events

I am trying to use angular-ui's tooltip functionality to show my user that a particular field is invalid but it …

angularjs angularjs-directive angular-ui
Is it possible to 'watch' attributes' changes

Is it possible to "watch" for ui changes on the directive? something like that: .directive('vValidation', function() { return function(scope, …

angularjs angularjs-directive
What is the difference between ng-app and data-ng-app?

I have begun to learn about AngularJS and am confused about what the differences are between the ng-app and data-ng-app …

angularjs angularjs-directive
Unit Testing AngularJS directive with templateUrl

I have an AngularJS directive that has a templateUrl defined. I am trying to unit test it with Jasmine. My …

angularjs angularjs-directive jasmine
Google maps for AngularJS

I am very new to AngularJS and I am trying to use https://github.com/angular-ui/angular-google-maps. I am just …

angularjs google-maps google-maps-api-3 angularjs-directive angularjs-google-maps
AngularJS ngRepeat element removal

There are quite a few questions on how to implement item removal inside ngRepeat directive, and as I figured out, …

javascript angularjs angularjs-directive angularjs-scope
Stating directive templateUrl relative to root

I am currently stating templateUrl relative to the current window location. cvApp.directive('personalDetails', function () { return { restrict: 'A', templateUrl: '../../…

javascript angularjs angularjs-directive