Skip to content Skip to sidebar Skip to footer

Using External Javascript Files Inside An Angular Directive Template

I am loading dinamically in my webapp 'components', which has a directive, and a template, like the following: angular.module('app') .directive('carousel', function() { return {

Solution 1:

At the end the problem was solved using jquery as a main dependency.

Empirically I can see that when you use the Javascript files and scripts from the templates is effectively loaded.

Post a Comment for "Using External Javascript Files Inside An Angular Directive Template"