Top "Angularjs-directive" questions

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

calling method of parent controller from a directive in AngularJS

Following my previous question, I'm now trying to call a method on the parent controller from my directive. I get …

angularjs angularjs-directive
AngularJS directive with default options

I'm just starting with angularjs, and am working on converting a few old JQuery plugins to Angular directives. I'd like …

javascript angularjs angularjs-directive options default-value
What is ng-transclude?

I have seen a number of questions on StackOverflow discussing ng-transclude, but none explaining in layman's terms what it is. …

angularjs angularjs-directive transclusion
Understanding the transclude option of directive definition?

I think this is one of the hardest concept for me to understand with angularjs's directive. The document from http://…

angularjs angularjs-directive
When to use transclude 'true' and transclude 'element' in Angular?

When should I use transclude: 'true' and when transclude: 'element' ? I cant find anything about transclude: 'element' in the angular …

angularjs angularjs-directive angularjs-ng-transclude
$watch ngModel from inside directive using isolate scope

I am trying to watch my model value from inside my linking function. scope.$watch(attrs.ngModel, function() { console.log("…

javascript angularjs angularjs-directive
if a ngSrc path resolves to a 404, is there a way to fallback to a default?

The application I'm building requires my user to set 4 pieces of information before this image even has a chance of …

angularjs angularjs-directive
Preview Image before uploading Angularjs

Hi I was wondering if there was a way to preview images before I upload them using angularjs? I am …

ajax angularjs file-upload upload angularjs-directive
Angular: calling controller function inside a directive link function using &

We're running into a problem trying to call a function passed into a directive using the ampersand '&' …

angularjs angularjs-directive
AngularJS. Convert tag value (Unix time to human-readable time)

I am getting data from a database and displaying it: <ul> <li ng-repeat="item in items> &…

angularjs angularjs-directive